diff options
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index 5c9b99b02..d69247da4 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -35,7 +35,6 @@ Item { property var usedGas: [] property var endpressure: [] property var startpressure: [] - property alias gpsCheckbox: checkboxGPS.checked property alias suitModel: suitBox.model property alias divemasterModel: divemasterBox.model property alias buddyModel: buddyBox.model @@ -265,32 +264,6 @@ Item { } } RowLayout { - width: manager.locationServiceAvailable ? Kirigami.Units.gridUnit * 12 : 0 - TemplateLabelSmall { - Layout.preferredWidth: Kirigami.Units.gridUnit * 6 - horizontalAlignment: Text.AlignRight - text: qsTr("Use current\nGPS location:") - visible: manager.locationServiceAvailable - } - TemplateCheckBox { - Layout.preferredWidth: Kirigami.Units.gridUnit * 6 - id: checkboxGPS - visible: manager.locationServiceAvailable - onCheckedChanged: { - if (checked) - gpsText = manager.getCurrentPosition() - } - } - } - - Connections { - target: manager - onWaitingForPositionChanged: { - gpsText = manager.getCurrentPosition() - manager.appendTextToLog("received updated position info " + gpsText) - } - } - RowLayout { width: Kirigami.Units.gridUnit * 20 TemplateLabelSmall { Layout.preferredWidth: Kirigami.Units.gridUnit * 4 |