mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Merge pull request #12840 from TryTwo/Fix_batch_mode_again
MainWindow: Fix batch mode (again).
This commit is contained in:
commit
db921ed4b5
@ -346,8 +346,11 @@ MainWindow::~MainWindow()
|
||||
|
||||
QSettings& settings = Settings::GetQSettings();
|
||||
|
||||
settings.setValue(QStringLiteral("mainwindow/state"), saveState());
|
||||
settings.setValue(QStringLiteral("mainwindow/geometry"), saveGeometry());
|
||||
if (!Settings::Instance().IsBatchModeEnabled())
|
||||
{
|
||||
settings.setValue(QStringLiteral("mainwindow/state"), saveState());
|
||||
settings.setValue(QStringLiteral("mainwindow/geometry"), saveGeometry());
|
||||
}
|
||||
|
||||
settings.setValue(QStringLiteral("renderwidget/geometry"), m_render_widget_geometry);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user