mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-28 06:10:12 +00:00
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.
This commit is contained in:
parent
5f885b83b8
commit
42a9d8c353
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user