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>
This commit is contained in:
Dirk Hohndel 2016-09-04 08:57:09 -07:00
parent 055276f1ba
commit 4938a7a10f

View file

@ -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.")