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>
This commit is contained in:
Jan Mulder 2018-02-08 18:47:56 +01:00
parent 6d679931d0
commit 72f59d54cb

View file

@ -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