Don't quit when hitting the back button on iOS

This should finally fix this problem.
Famous last words.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-06-12 12:12:37 -07:00
parent f2e03022fa
commit 2755e64cea

View file

@ -303,9 +303,9 @@ Kirigami.ScrollablePage {
if (!startPageWrapper.visible) {
if (Qt.platform.os != "ios") {
manager.quit()
// we shouldn't come back from there, but just in case
event.accepted = true
}
// let's make sure Kirigami doesn't quit on our behalf
event.accepted = true
}
}
}