From e9da2a48324191421fd29325820e9b50fa8bcd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Sun, 11 Jan 2026 21:48:03 +0100 Subject: 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. --- Source/Core/DolphinQt/Debugger/CodeWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt/Debugger/CodeWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp index 559b540451..faf7e358c2 100644 --- a/Source/Core/DolphinQt/Debugger/CodeWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeWidget.cpp @@ -47,7 +47,7 @@ CodeWidget::CodeWidget(QWidget* parent) setWindowTitle(tr("Code")); setObjectName(QStringLiteral("code")); - setHidden(!Settings::Instance().IsCodeVisible() || !Settings::Instance().IsDebugModeEnabled()); + setHidden(!Settings::Instance().IsCodeVisible() || !Config::IsDebuggingEnabled()); setAllowedAreas(Qt::AllDockWidgetAreas); -- cgit v1.2.3