summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/JITWidget.cpp
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-01-11 21:48:03 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2026-11-16 01:01:12 +0100
commite9da2a48324191421fd29325820e9b50fa8bcd7e (patch)
treea25402614aa792e13040cd718b0002c2f0a77232 /Source/Core/DolphinQt/Debugger/JITWidget.cpp
parent2d451da728fe0db49fe9319db511834d03b995c2 (diff)
Settings: Simplify debug mode
We now just pass a signal to tell the UI that hardcore mode has been turned on/off, and we replace Settings::IsDebugModeEnabled with Config::IsDebuggingEnabled, which always returns false if hardcore is on.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/JITWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/JITWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/JITWidget.cpp b/Source/Core/DolphinQt/Debugger/JITWidget.cpp
index 9a9fdff058..fd500ee63b 100644
--- a/Source/Core/DolphinQt/Debugger/JITWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/JITWidget.cpp
@@ -285,7 +285,7 @@ void JITWidget::LoadQSettings()
auto& settings = Settings::GetQSettings();
restoreGeometry(settings.value(QStringLiteral("jitwidget/geometry")).toByteArray());
- setHidden(!Settings::Instance().IsJITVisible() || !Settings::Instance().IsDebugModeEnabled());
+ setHidden(!Settings::Instance().IsJITVisible() || !Config::IsDebuggingEnabled());
// macOS: setFloating() needs to be after setHidden() for proper window presentation
// according to Settings
setFloating(settings.value(QStringLiteral("jitwidget/floating")).toBool());