diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-06-06 21:56:34 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2021-06-06 21:56:34 +0200 |
| commit | 441d304317606c2c9448108728f8f38a2b2f7f5d (patch) | |
| tree | 7ecc654af6d3f547fb950bf0d21bff943339dca4 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | 414e0f459862851a1714461a646bf801c09a4175 (diff) | |
CheatsManager: Use game information directly from SConfig, and only recreate widgets if game changes.
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); |
