Qt/GameList: Don't show certain options when a DOL/ELF is selected.
This commit is contained in:
parent
8675fa09b8
commit
07b26f8bca
|
@ -170,9 +170,14 @@ void GameList::ShowContextMenu(const QPoint&)
|
|||
|
||||
QMenu* menu = new QMenu(this);
|
||||
DiscIO::Platform platform = game->GetPlatform();
|
||||
AddAction(menu, tr("&Properties"), this, &GameList::OpenProperties);
|
||||
AddAction(menu, tr("&Wiki"), this, &GameList::OpenWiki);
|
||||
menu->addSeparator();
|
||||
|
||||
if (platform != DiscIO::Platform::ELFOrDOL)
|
||||
{
|
||||
AddAction(menu, tr("&Properties"), this, &GameList::OpenProperties);
|
||||
AddAction(menu, tr("&Wiki"), this, &GameList::OpenWiki);
|
||||
|
||||
menu->addSeparator();
|
||||
}
|
||||
|
||||
if (platform == DiscIO::Platform::GameCubeDisc || platform == DiscIO::Platform::WiiDisc)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue