mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
GameList: Prevent opening Properties multiple times for the same game
This commit is contained in:
parent
8665b22822
commit
2de9122b5f
3 changed files with 14 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue