diff options
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index c950fd316..62a94bd0e 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -246,6 +246,7 @@ Kirigami.ApplicationWindow { CheckBox { //text: "Run location service" id: locationCheckbox + visible: manager.locationServiceAvailable anchors { left: parent.left top: parent.top @@ -262,7 +263,7 @@ Kirigami.ApplicationWindow { //leftMargin: units.smallSpacing verticalCenter: locationCheckbox.verticalCenter } - text: "Run location service" + text: manager.locationServiceAvailable ? "Run location service" : "No GPS source available" } onClicked: { print("Click.") |