Qt: Updater shouldn't confirm shutdown

Otherwise if it's cancelled we end up in a funky state.
This commit is contained in:
Stenzek 2025-05-20 00:00:15 +10:00
parent b27e5ac26a
commit 1667179f78
No known key found for this signature in database

View File

@ -600,7 +600,7 @@ void AutoUpdaterDialog::downloadUpdateClicked()
if (download_result.value_or(false))
{
// updater started. since we're a modal on the main window, we have to queue this.
QMetaObject::invokeMethod(g_main_window, "requestExit", Qt::QueuedConnection, Q_ARG(bool, true));
QMetaObject::invokeMethod(g_main_window, "requestExit", Qt::QueuedConnection, Q_ARG(bool, false));
done(1);
}
else