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; event.accepted = true;
} }
if (!startPageWrapper.visible) { if (!startPageWrapper.visible) {
manager.quit() if (Qt.platform.os != "ios") {
// we shouldn't come back from there, but just in case manager.quit()
event.accepted = true // we shouldn't come back from there, but just in case
event.accepted = true
}
} }
} }
} }