diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-08-20 12:22:50 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-20 12:22:50 +1000 |
| commit | 82fe8f61b6de80549a6afc9542120efffbedc0d1 (patch) | |
| tree | e3709e68273d98c92b177f8cc7e084c711dba5e6 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | 6efab4e3c6322839a9156d953b321b5da621de91 (diff) | |
| parent | b6df0bff939670ee209abb8817d1aa3bd7ded709 (diff) | |
Merge pull request #8308 from CookiePLMonster/cmdline-headless
Make --batch run Dolphin headless
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index e8caad4791..745ecf0fd5 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -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) |
