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/MainWindow.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/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index df580398d8..3b01fec11b 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -411,7 +411,7 @@ void MainWindow::CreateComponents() m_watch_widget = new WatchWidget(this); m_breakpoint_widget = new BreakpointWidget(this); m_code_widget = new CodeWidget(this); - m_cheats_manager = new CheatsManager(m_game_list->GetGameListModel(), this); + m_cheats_manager = new CheatsManager(this); const auto request_watch = [this](QString name, u32 addr) { m_watch_widget->AddWatch(name, addr); |
