summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Main.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-04-29 19:13:40 +0200
committerspycrab <spycrab@users.noreply.github.com>2018-04-29 19:13:40 +0200
commit2a837a82d45b68e07a97f782b546f1ca4e052ced (patch)
tree0d3585825299292452c062236f0ccbb8a6399ac6 /Source/Core/DolphinQt2/Main.cpp
parent1c9b64ff02ef1f2f6c46631aab5eb30ecdad63b6 (diff)
Qt: Implement Batch flag (-b)
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 4c615676b2..878efef2f8 100644
--- a/Source/Core/DolphinQt2/Main.cpp
+++ b/Source/Core/DolphinQt2/Main.cpp
@@ -87,6 +87,7 @@ int main(int argc, char* argv[])
UICommon::Init();
Resources::Init();
Settings::Instance().SetDebugModeEnabled(options.is_set("debugger"));
+ Settings::Instance().SetBatchModeEnabled(options.is_set("batch"));
// Hook up alerts from core
RegisterMsgAlertHandler(QtMsgAlertHandler);