Make --batch run Dolphin in headless mode, provided --exec is also passed

This commit is contained in:
Silent
2019-08-11 20:58:04 +02:00
parent 80e8037e0b
commit b6df0bff93
3 changed files with 11 additions and 5 deletions

View File

@ -1714,7 +1714,8 @@ void MainWindow::OnUpdateProgressDialog(QString title, int progress, int total)
void MainWindow::Show()
{
QWidget::show();
if (!Settings::Instance().IsBatchModeEnabled())
QWidget::show();
// If the booting of a game was requested on start up, do that now
if (m_pending_boot != nullptr)