From 72f59d54cb61e250274b43f2a5831acf3f29d0fd Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 8 Feb 2018 18:47:56 +0100 Subject: 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 --- mobile-widgets/qml/DiveList.qml | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'mobile-widgets') 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 -- cgit v1.2.3-70-g09d2