summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/Main.cpp')
-rw-r--r--Source/Core/DolphinQt2/Main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp
index 1c46d4403d..047618df5c 100644
--- a/Source/Core/DolphinQt2/Main.cpp
+++ b/Source/Core/DolphinQt2/Main.cpp
@@ -105,7 +105,6 @@ int main(int argc, char* argv[])
UICommon::CreateDirectories();
UICommon::Init();
Resources::Init();
- Settings::Instance().SetDebugModeEnabled(options.is_set("debugger"));
Settings::Instance().SetBatchModeEnabled(options.is_set("batch"));
// Hook up alerts from core
@@ -148,6 +147,8 @@ int main(int argc, char* argv[])
DolphinAnalytics::Instance()->ReportDolphinStart("qt");
MainWindow win{std::move(boot)};
+ if (options.is_set("debugger"))
+ Settings::Instance().SetDebugModeEnabled(true);
win.show();
#if defined(USE_ANALYTICS) && USE_ANALYTICS