diff --git a/src/qt_gui/gui_context_menus.h b/src/qt_gui/gui_context_menus.h index 16f72192f..35acb1d36 100644 --- a/src/qt_gui/gui_context_menus.h +++ b/src/qt_gui/gui_context_menus.h @@ -138,7 +138,7 @@ public: } } -if (selected == &openCheats) { + if (selected == &openCheats) { const auto& CHEATS_DIR = Common::FS::GetUserPath(Common::FS::PathType::CheatsDir); QString CHEATS_DIR_QString = QString::fromStdString(CHEATS_DIR.string()); const QString NameCheatJson = QString::fromStdString(m_games[itemID].serial) + "_" + @@ -392,7 +392,6 @@ if (selected == &openCheats) { cheatWidget->show(); } - if (selected == &openTrophyViewer) { QString trophyPath = QString::fromStdString(m_games[itemID].serial); QString gameTrpPath = QString::fromStdString(m_games[itemID].path);