mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
MainWindow: Check for batch mode before show().
This commit is contained in:
parent
46a89936ae
commit
fa00728d3e
@ -239,6 +239,7 @@ MainWindow::MainWindow(std::unique_ptr<BootParameters> boot_parameters,
|
|||||||
QSettings& settings = Settings::GetQSettings();
|
QSettings& settings = Settings::GetQSettings();
|
||||||
restoreState(settings.value(QStringLiteral("mainwindow/state")).toByteArray());
|
restoreState(settings.value(QStringLiteral("mainwindow/state")).toByteArray());
|
||||||
restoreGeometry(settings.value(QStringLiteral("mainwindow/geometry")).toByteArray());
|
restoreGeometry(settings.value(QStringLiteral("mainwindow/geometry")).toByteArray());
|
||||||
|
if (!Settings::Instance().IsBatchModeEnabled())
|
||||||
show();
|
show();
|
||||||
|
|
||||||
InitControllers();
|
InitControllers();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user