aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-04 08:57:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-04 08:57:09 -0700
commit4938a7a10f2e86bfd3a439996dc491fb881a0a38 (patch)
tree657bc5ce12caff9cdc034b8c133cca5c4d74cfc1 /mobile-widgets/qml
parent055276f1bafa759159b47710b3865ad48c1be8fc (diff)
downloadsubsurface-4938a7a10f2e86bfd3a439996dc491fb881a0a38.tar.gz
iOS: Don't show "No GPS source available"
We don't support GPS on iOS right now, the message is confusing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index ca22c9409..ae476b315 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -264,7 +264,7 @@ Kirigami.ApplicationWindow {
if (Qt.platform.os !== "ios") {
for (var i = 0; i < gpsActions.length; i++)
createActions.push(gpsActions[i])
- }
+ }
for (var i = 0; i < bottomActions.length; i++)
createActions.push(bottomActions[i])
actions = createActions
@@ -294,7 +294,7 @@ Kirigami.ApplicationWindow {
//leftMargin: units.smallSpacing
verticalCenter: locationCheckbox.verticalCenter
}
- text: manager.locationServiceAvailable ? qsTr("Run location service") : qsTr("No GPS source available")
+ text: Qt.platform.os == "ios" ? "" : manager.locationServiceAvailable ? qsTr("Run location service") : qsTr("No GPS source available")
}
onClicked: {
print("Click.")