diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-12-27 10:28:14 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-29 01:16:23 +0900 |
commit | 602f49e012e9f45775cc6908e31f8af18078a3a3 (patch) | |
tree | 631992c888d590f924c5696468e517c7956c37ad /mobile-widgets/qml/main.qml | |
parent | 25d2f9b84d24eac773da4f2f609bb4dfe4290d6a (diff) | |
download | subsurface-602f49e012e9f45775cc6908e31f8af18078a3a3.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 6e832547b..41fe2a677 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -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") |