Qt: Implement Batch flag (-b)
This commit is contained in:
1 parent
1c9b64ff02
commit
2a837a82d4
4 files changed
+14
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user