diff options
| author | Léo Lam <leo@leolam.fr> | 2021-06-07 02:37:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-07 02:37:11 +0200 |
| commit | a208d529de0b95c77a39b8faed9eb5b2c077347a (patch) | |
| tree | c85994f51dc797a3caa76755ed12470b3b137d01 /Source/Core/DolphinQt/Config/PropertiesDialog.cpp | |
| parent | fd4efd3787bd5978e59317a56905e6e78ae5a951 (diff) | |
| parent | 441d304317606c2c9448108728f8f38a2b2f7f5d (diff) | |
Merge pull request #9790 from AdmiralCurtiss/cheat-manager-config-change
CheatsManager: Avoid recreating child widgets on every OnStateChanged(), and take running game info directly from SConfig.
Diffstat (limited to 'Source/Core/DolphinQt/Config/PropertiesDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/PropertiesDialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Config/PropertiesDialog.cpp b/Source/Core/DolphinQt/Config/PropertiesDialog.cpp index e84ddc558a..4e629a803e 100644 --- a/Source/Core/DolphinQt/Config/PropertiesDialog.cpp +++ b/Source/Core/DolphinQt/Config/PropertiesDialog.cpp @@ -38,8 +38,9 @@ PropertiesDialog::PropertiesDialog(QWidget* parent, const UICommon::GameFile& ga QTabWidget* tab_widget = new QTabWidget(this); InfoWidget* info = new InfoWidget(game); - ARCodeWidget* ar = new ARCodeWidget(game); - GeckoCodeWidget* gecko = new GeckoCodeWidget(game); + ARCodeWidget* ar = new ARCodeWidget(game.GetGameID(), game.GetRevision()); + GeckoCodeWidget* gecko = + new GeckoCodeWidget(game.GetGameID(), game.GetGameTDBID(), game.GetRevision()); PatchesWidget* patches = new PatchesWidget(game); GameConfigWidget* game_config = new GameConfigWidget(game); |
