diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 7fa1f8d1f..7892e2b5a 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -311,7 +311,7 @@ Shell* MainWindow::shell() void MainWindow::saveWindowGeometry() { - QSettings settings{ "window-geometry" }; + QSettings settings("nvim-qt", "window-geometry"); settings.setValue("window_geometry", saveGeometry()); settings.setValue("window_state", saveState()); } @@ -324,7 +324,7 @@ void MainWindow::restoreWindowGeometry() qRegisterMetaTypeStreamOperators>("QList"); #endif - QSettings settings{ "window-geometry" }; + QSettings settings("nvim-qt", "window-geometry"); restoreGeometry(settings.value("window_geometry").toByteArray()); restoreState(settings.value("window_state").toByteArray()); }