From 2a837a82d45b68e07a97f782b546f1ca4e052ced Mon Sep 17 00:00:00 2001 From: spycrab Date: Sun, 29 Apr 2018 19:13:40 +0200 Subject: Qt: Implement Batch flag (-b) --- Source/Core/DolphinQt2/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt2/MainWindow.cpp') 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 -- cgit v1.2.3