Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Work-around to handle display of high-numbered cards.

If a card's number was greater than 9, only the first digit was
displayed in some situations and caused confusion with some users.  In
these cases, now display "#" instead.  This is a work-around to avoid
an ABI change in fixes/0.24 as was done in the complete fix in
SHA:95b4d928 in master.
  • Loading branch information...
commit c80795e01dc9fc70451a225fca533bf8eb717f1f 1 parent 4444dc5
@gigem gigem authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 mythtv/libs/libmyth/programtypes.cpp
View
5 mythtv/libs/libmyth/programtypes.cpp
@@ -89,7 +89,10 @@ QChar toQChar(RecStatusType recstatus, uint cardid)
ret = QObject::tr("t", "RecStatusChar rsTuning");
break;
case rsWillRecord:
- ret = QString::number(cardid);
+ if (0 < cardid && cardid < 10)
+ ret = QString::number(cardid);
+ else
+ ret = "#";
break;
case rsDontRecord:
ret = QObject::tr("X", "RecStatusChar rsDontRecord");
Please sign in to comment.
Something went wrong with that request. Please try again.