Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#10746 closed Bug Report - General (fixed)
Typo in programinfo.cpp affecting themes
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | trivial | Milestone: | 0.25.1 |
Component: | MythTV - General | Version: | Master Head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
There is a typo in programinfo.cpp where recordinggroup is mis-spelled. The particular spelling (recordingggroup) only occurs once in the code base. This means themes have no data populated when including this field. A workaround is to alter theme but this is not ideal as most themes include this field spelled as recordinggroup.
Present in master as well as 0.25-fixes.
Patch as follows:
--- a/libs/libmyth/programinfo.cpp 2012-04-24 17:35:58.000000000 +0930 +++ b/libs/libmyth/programinfo.cpp 2012-05-23 09:28:28.282810582 +0930 @@ -1515,7 +1515,7 @@ progMap["recpriority"] = recpriority; progMap["recpriority2"] = recpriority2; - progMap["recordingggroup"] = (recgroup == "Default") + progMap["recordinggroup"] = (recgroup == "Default") ? QObject::tr("Default") : recgroup; progMap["playgroup"] = playgroup;
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 2afb07d70f668e2b581c49902a5e69554a7da6b3/mythtv: