Skip to content

Commit

Permalink
Per UI guidelines remove 'Cancel' option from mythgame popup
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Jul 31, 2012
1 parent 2961d1f commit 71ca47f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythplugins/mythgame/mythgame/gameui.cpp
Expand Up @@ -279,13 +279,12 @@ void GameUI::itemClicked(MythUIButtonListItem*)
{
chooseSystemPopup->SetReturnEvent(this, "chooseSystemPopup");
QString all_systems = romInfo->AllSystems();
QStringList players = all_systems.split(",");
QStringList players = all_systems.split(',');
for (QStringList::Iterator it = players.begin();
it != players.end(); ++it)
{
chooseSystemPopup->AddButton(*it);
}
chooseSystemPopup->AddButton(tr("Cancel"));
popupStack->AddScreen(chooseSystemPopup);
}
else
Expand Down

0 comments on commit 71ca47f

Please sign in to comment.