GameList: Prevent opening Properties multiple times for the same game

This commit is contained in:
Martino Fontana committed 2025-06-04 23:11:09 +02:00
1 parent 8665b22822
commit 2de9122b5f
3 files changed
+14 -1

No files matched your search

@@ -17,6 +17,7 @@ class PropertiesDialog final : public StackedSettingsWindow
Q_OBJECT
public:
explicit PropertiesDialog(QWidget* parent, const UICommon::GameFile& game);
const std::string& GetFilePath() const { return m_filepath; }
signals:
void OpenGeneralSettings();
@@ -24,4 +25,7 @@ signals:
#ifdef USE_RETRO_ACHIEVEMENTS
void OpenAchievementSettings();
#endif // USE_RETRO_ACHIEVEMENTS
private:
const std::string m_filepath;
};