summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-03-15 02:54:48 +0100
committerGitHub <noreply@github.com>2024-03-15 02:54:48 +0100
commitee4f2be68ab557baf286a20e6827a7e26f3c0e88 (patch)
tree6dae81d2b0417510a27a80ae96f38f5d85919b85 /Source/Core/DolphinQt/MainWindow.cpp
parent7117d115e72540351f26b47edd9c435cab44cf48 (diff)
parentc377c1e21ea64435a4e0fb2d08c03cabb4ec981d (diff)
Merge pull request #12604 from mitaclaw/qt-cheats-global-system
CheatsManager/CheatSearchWidget: Avoid Global System Accessor
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index a76fd36b55..e70d4f64f1 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -456,7 +456,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(this);
+ m_cheats_manager = new CheatsManager(Core::System::GetInstance(), this);
m_assembler_widget = new AssemblerWidget(this);
const auto request_watch = [this](QString name, u32 addr) {