GameList: Prevent opening Properties multiple times for the same game

This commit is contained in:
Martino Fontana
2025-06-02 14:00:06 +02:00
parent 8665b22822
commit 2de9122b5f
3 changed files with 14 additions and 1 deletions

View File

@ -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;
};