mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-06 03:25:36 +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))
|
if (download_result.value_or(false))
|
||||||
{
|
{
|
||||||
// updater started. since we're a modal on the main window, we have to queue this.
|
// 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);
|
done(1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user