mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
6d679931d0
commit
72f59d54cb
1 changed files with 0 additions and 21 deletions
|
@ -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: {
|
onBackRequested: {
|
||||||
if (startPage.visible && diveListView.count > 0 && manager.credentialStatus !== QMLManager.CS_INCORRECT_USER_PASSWD) {
|
if (startPage.visible && diveListView.count > 0 && manager.credentialStatus !== QMLManager.CS_INCORRECT_USER_PASSWD) {
|
||||||
manager.credentialStatus = oldStatus
|
manager.credentialStatus = oldStatus
|
||||||
|
|
Loading…
Add table
Reference in a new issue