From 1b29212d6c469bebdb62ff5947e02061ee0f5434 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 11 May 2023 00:52:06 +1000 Subject: [PATCH] Qt: Fix geometry not saving on shutdown --- src/duckstation-qt/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index edc486c0d..e4655c69d 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -2416,6 +2416,7 @@ void MainWindow::closeEvent(QCloseEvent* event) // If there's no VM, we can just exit as normal. if (!s_system_valid) { + saveGeometryToConfig(); QMainWindow::closeEvent(event); return; }