QML UI: don't exit on iOS

Apparently users interpret that as a crash.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-21 12:14:37 -07:00
parent 68bb49e4ca
commit 85560531da

View file

@ -282,9 +282,11 @@ Kirigami.ScrollablePage {
event.accepted = true;
}
if (!startPageWrapper.visible) {
manager.quit()
// we shouldn't come back from there, but just in case
event.accepted = true
if (Qt.platform.os != "ios") {
manager.quit()
// we shouldn't come back from there, but just in case
event.accepted = true
}
}
}
}