summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Main.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2017-09-19 14:14:45 +0200
committerspycrab <spycrab@users.noreply.github.com>2017-12-28 18:59:42 +0100
commitff283ff912fab0f7a6abfd0f98256e112e8dba88 (patch)
tree0a76b7b2c559f651d4503c6bd7e45955c12b01ba /Source/Core/DolphinQt2/Main.cpp
parent1df69c57507dbeea638eceac1c7410b737f1739c (diff)
Qt/Settings: Add debug mode flag
Diffstat (limited to 'Source/Core/DolphinQt2/Main.cpp')
-rw-r--r--Source/Core/DolphinQt2/Main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp
index 8b29f6590c..b1616a30ab 100644
--- a/Source/Core/DolphinQt2/Main.cpp
+++ b/Source/Core/DolphinQt2/Main.cpp
@@ -73,6 +73,7 @@ int main(int argc, char* argv[])
UICommon::CreateDirectories();
UICommon::Init();
Resources::Init();
+ Settings::Instance().SetDebugModeEnabled(options.is_set("debugger"));
// Hook up alerts from core
RegisterMsgAlertHandler(QtMsgAlertHandler);