initialstart: Use more reliable way to exit app

This commit is contained in:
Devin Lin 2023-10-22 16:53:53 -07:00
parent 6488784472
commit 332c9aa6df
2 changed files with 2 additions and 1 deletions

View file

@ -64,8 +64,8 @@ Kirigami.Page {
}
function finishFinalPage() {
// the app exits
InitialStart.Wizard.wizardFinished();
applicationWindow().close();
}
function requestNextPage() {

View file

@ -96,4 +96,5 @@ QList<QQuickItem *> Wizard::steps()
void Wizard::wizardFinished()
{
Settings::self()->setWizardFinished();
QCoreApplication::quit();
}