mobile UI: remove confusing gDrawer id

The global drawer already has a name that can be referenced. This was adding
confusion as now both names were used in the menu structure.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-12-27 10:28:14 -08:00
parent 25d2f9b84d
commit 602f49e012

View file

@ -161,7 +161,7 @@ Kirigami.ApplicationWindow {
}
globalDrawer: Kirigami.GlobalDrawer {
id: gDrawer
id: globalDrawer
height: rootItem.height
rightPadding: 0
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
@ -268,7 +268,7 @@ Kirigami.ApplicationWindow {
name: ":/go-previous-symbolic"
}
text: qsTr("Back")
onTriggered: gDrawer.scrollViewItem.pop()
onTriggered: globalDrawer.scrollViewItem.pop()
}
Kirigami.Action {
icon {
@ -367,7 +367,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
name: ":/go-previous-symbolic"
}
text: qsTr("Back")
onTriggered: gDrawer.scrollViewItem.pop()
onTriggered: globalDrawer.scrollViewItem.pop()
}
Kirigami.Action {
icon {
@ -471,7 +471,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
name: ":/go-previous-symbolic"
}
text: qsTr("Back")
onTriggered: gDrawer.scrollViewItem.pop()
onTriggered: globalDrawer.scrollViewItem.pop()
}
Kirigami.Action {
text: qsTr("App log")