diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-04-29 19:13:40 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-04-29 19:13:40 +0200 |
| commit | 2a837a82d45b68e07a97f782b546f1ca4e052ced (patch) | |
| tree | 0d3585825299292452c062236f0ccbb8a6399ac6 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | 1c9b64ff02ef1f2f6c46631aab5eb30ecdad63b6 (diff) | |
Qt: Implement Batch flag (-b)
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 2 |
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 |
