mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
68bb49e4ca
commit
85560531da
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue