From 602f49e012e9f45775cc6908e31f8af18078a3a3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 27 Dec 2019 10:28:14 -0800 Subject: 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 --- mobile-widgets/qml/main.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mobile-widgets/qml') 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") -- cgit v1.2.3-70-g09d2