mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
initialstart: Use more reliable way to exit app
This commit is contained in:
parent
6488784472
commit
332c9aa6df
2 changed files with 2 additions and 1 deletions
|
|
@ -64,8 +64,8 @@ Kirigami.Page {
|
|||
}
|
||||
|
||||
function finishFinalPage() {
|
||||
// the app exits
|
||||
InitialStart.Wizard.wizardFinished();
|
||||
applicationWindow().close();
|
||||
}
|
||||
|
||||
function requestNextPage() {
|
||||
|
|
|
|||
|
|
@ -96,4 +96,5 @@ QList<QQuickItem *> Wizard::steps()
|
|||
void Wizard::wizardFinished()
|
||||
{
|
||||
Settings::self()->setWizardFinished();
|
||||
QCoreApplication::quit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue