mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-03 02:00:05 +00:00
Qt: Updater shouldn't confirm shutdown
Otherwise if it's cancelled we end up in a funky state.
This commit is contained in:
parent
b27e5ac26a
commit
1667179f78
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user