From d2452b8ecf32389afeec6067e8b3c43d9e0a32e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 16 Aug 2017 13:21:14 +0200 Subject: [PATCH] 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 :( --- Source/Core/DolphinQt2/GameList/GameList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/GameList/GameList.cpp b/Source/Core/DolphinQt2/GameList/GameList.cpp index 0c3915dbcc..3e71ac7aa8 100644 --- a/Source/Core/DolphinQt2/GameList/GameList.cpp +++ b/Source/Core/DolphinQt2/GameList/GameList.cpp @@ -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); }