mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Qt: Fix old usage of GetSelectedGame
Waited too long before merging a PR, which managed to break the build because GetSelectedGame was changed without introducing any conflict :(
This commit is contained in:
parent
3748384008
commit
d2452b8ecf
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ void GameList::ShowContextMenu(const QPoint&)
|
|||
if (platform == DiscIO::Platform::WII_DISC)
|
||||
{
|
||||
menu->addAction(tr("Perform System Update"), [this] {
|
||||
WiiUpdate::PerformDiscUpdate(GetSelectedGame().toStdString(), this);
|
||||
WiiUpdate::PerformDiscUpdate(GetSelectedGame()->GetFilePath().toStdString(), this);
|
||||
});
|
||||
menu->setEnabled(!Core::IsRunning() || !SConfig::GetInstance().bWii);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue