Skip to content

Commit

Permalink
These lines should have been stripped out in an earlier commit, that'…
Browse files Browse the repository at this point in the history
…s the hazard of having duplicated code, when one block gets updated it's easy to miss the other(s).
  • Loading branch information
stuartm committed Jul 26, 2011
1 parent 80e8dda commit 4b78308
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -770,15 +770,9 @@ void PlaybackBox::UpdateUIListItem(
m_groupList->GetItemCurrent()->GetData().toString();

QString tempSubTitle = extract_subtitle(*pginfo, groupname);
QString tempShortDate = MythDateTimeToString(pginfo->GetRecordingStartTime(),
kDateShort);
QString tempLongDate = MythDateTimeToString(pginfo->GetRecordingStartTime(),
kDateFull | kSimplify);

if (groupname == pginfo->GetTitle().toLower())
item->SetText(tempSubTitle, "titlesubtitle");
item->SetText(tempLongDate, "longdate");
item->SetText(tempShortDate, "shortdate");
}

// Recording and availability status
Expand Down

0 comments on commit 4b78308

Please sign in to comment.