Skip to content
Permalink
Browse files
Merge pull request #5934 from leoetlino/qt-fix
Qt: Fix old usage of GetSelectedGame
  • Loading branch information
JosJuice committed Aug 16, 2017
2 parents 3748384 + d2452b8 commit 8134a63
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);
}

0 comments on commit 8134a63

Please sign in to comment.