mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
055276f1ba
commit
4938a7a10f
1 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@ Kirigami.ApplicationWindow {
|
||||||
//leftMargin: units.smallSpacing
|
//leftMargin: units.smallSpacing
|
||||||
verticalCenter: locationCheckbox.verticalCenter
|
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: {
|
onClicked: {
|
||||||
print("Click.")
|
print("Click.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue