summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2018-04-29 14:23:46 -0400
committerGitHub <noreply@github.com>2018-04-29 14:23:46 -0400
commit1aebe515d9dba3fbaf5e7c70c342a9fdcd565e9e (patch)
tree0d3585825299292452c062236f0ccbb8a6399ac6 /Source/Core/DolphinQt2/MainWindow.cpp
parent1c9b64ff02ef1f2f6c46631aab5eb30ecdad63b6 (diff)
parent2a837a82d45b68e07a97f782b546f1ca4e052ced (diff)
Merge pull request #6719 from spycrab/qt_batch
Qt: Implement Batch flag (-b)
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index 78f76bedd7..de05df1602 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -526,7 +526,7 @@ void MainWindow::OnStopComplete()
m_stop_requested = false;
HideRenderWidget();
- if (m_exit_requested)
+ if (m_exit_requested || Settings::Instance().IsBatchModeEnabled())
QGuiApplication::instance()->quit();
// If the current emulation prevented the booting of another, do that now