diff options
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index cd08eabb3..e9fdeb62c 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -114,32 +114,13 @@ Item { text: qsTr("Use current\nGPS location:") visible: manager.locationServiceAvailable } - CheckBox { + SsrfCheckBox { id: checkboxGPS visible: manager.locationServiceAvailable onCheckedChanged: { if (checked) gpsText = manager.getCurrentPosition() } - indicator: Rectangle { - implicitWidth: 20 - implicitHeight: 20 - x: checkboxGPS.leftPadding - y: parent.height / 2 - height / 2 - radius: 4 - border.color: checkboxGPS.down ? subsurfaceTheme.primaryColor : subsurfaceTheme.darkerPrimaryColor - color: subsurfaceTheme.backgroundColor - - Rectangle { - width: 12 - height: 12 - x: 4 - y: 4 - radius: 3 - color: checkboxGPS.down ? subsurfaceTheme.primaryColor : subsurfaceTheme.darkerPrimaryColor - visible: checkboxGPS.checked - } - } } Kirigami.Label { |