mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
MainWindow: Check for batch mode before show().
This commit is contained in:
@ -239,7 +239,8 @@ 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());
|
||||||
show();
|
if (!Settings::Instance().IsBatchModeEnabled())
|
||||||
|
show();
|
||||||
|
|
||||||
InitControllers();
|
InitControllers();
|
||||||
ConnectHotkeys();
|
ConnectHotkeys();
|
||||||
|
Reference in New Issue
Block a user