From 42a9d8c353ca3c06ac01b18d1ff5f0d906aa635c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 18 Jun 2025 19:05:28 +1000 Subject: [PATCH] Qt: Raise updater window if already shown Too bad it won't work on Wayland. I'm trying to give a good user experience on a platform that is so developer hostile. --- src/duckstation-qt/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index 5c7fb177d..66cf03292 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -2997,7 +2997,10 @@ void MainWindow::checkForUpdates(bool display_message) } if (m_auto_updater_dialog) + { + QtUtils::ShowOrRaiseWindow(m_auto_updater_dialog); return; + } m_auto_updater_dialog = new AutoUpdaterWindow(); connect(m_auto_updater_dialog, &AutoUpdaterWindow::updateCheckCompleted, this, &MainWindow::onUpdateCheckComplete);