From 85560531da8205feca045305843b704f497a3d05 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 21 Apr 2016 12:14:37 -0700 Subject: QML UI: don't exit on iOS Apparently users interpret that as a crash. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mobile-widgets/qml/DiveList.qml') 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 + } } } } -- cgit v1.2.3-70-g09d2