summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-08 18:47:56 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-08 21:29:47 +0100
commit72f59d54cb61e250274b43f2a5831acf3f29d0fd (patch)
treef4fd3006582c602e1ccc80ebaa09c6f994068396 /mobile-widgets
parent6d679931d0626b829ae820c14d153206a766e104 (diff)
downloadsubsurface-72f59d54cb61e250274b43f2a5831acf3f29d0fd.tar.gz
Mobile cleanup: remove unused actions
Trivial removal of 2 unused Kirigami actions. These were leftovers from the time we had a very different style of cloud account management. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml21
1 files changed, 0 insertions, 21 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 5953c1f86..d5719b862 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -349,27 +349,6 @@ Kirigami.ScrollablePage {
}
}
- property QtObject saveAction: Kirigami.Action {
- icon {
- name: "document-save"
- }
- onTriggered: {
- Qt.inputMethod.hide()
- startPage.saveCredentials();
- }
- }
-
- property QtObject offlineAction: Kirigami.Action {
- icon {
- name: "qrc:/qml/nocloud.svg"
- }
- onTriggered: {
- manager.syncToCloud = false
- manager.credentialStatus = QMLManager.CS_NOCLOUD
- manager.saveCloudCredentials()
- }
- }
-
onBackRequested: {
if (startPage.visible && diveListView.count > 0 && manager.credentialStatus !== QMLManager.CS_INCORRECT_USER_PASSWD) {
manager.credentialStatus = oldStatus