diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-21 12:14:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-21 13:27:49 -0700 |
commit | 85560531da8205feca045305843b704f497a3d05 (patch) | |
tree | a7ca16a2e4a13c97fb12bb6a639cf8717d78c832 /mobile-widgets | |
parent | 68bb49e4ca26d818c5199de0da1002c82281d645 (diff) | |
download | subsurface-85560531da8205feca045305843b704f497a3d05.tar.gz |
QML UI: don't exit on iOS
Apparently users interpret that as a crash.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 73bb06a86..e5ce929d2 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -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 + } } } } |