mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
25d2f9b84d
commit
602f49e012
1 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ Kirigami.ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
globalDrawer: Kirigami.GlobalDrawer {
|
globalDrawer: Kirigami.GlobalDrawer {
|
||||||
id: gDrawer
|
id: globalDrawer
|
||||||
height: rootItem.height
|
height: rootItem.height
|
||||||
rightPadding: 0
|
rightPadding: 0
|
||||||
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
|
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
|
||||||
|
@ -268,7 +268,7 @@ Kirigami.ApplicationWindow {
|
||||||
name: ":/go-previous-symbolic"
|
name: ":/go-previous-symbolic"
|
||||||
}
|
}
|
||||||
text: qsTr("Back")
|
text: qsTr("Back")
|
||||||
onTriggered: gDrawer.scrollViewItem.pop()
|
onTriggered: globalDrawer.scrollViewItem.pop()
|
||||||
}
|
}
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
icon {
|
icon {
|
||||||
|
@ -367,7 +367,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
name: ":/go-previous-symbolic"
|
name: ":/go-previous-symbolic"
|
||||||
}
|
}
|
||||||
text: qsTr("Back")
|
text: qsTr("Back")
|
||||||
onTriggered: gDrawer.scrollViewItem.pop()
|
onTriggered: globalDrawer.scrollViewItem.pop()
|
||||||
}
|
}
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
icon {
|
icon {
|
||||||
|
@ -471,7 +471,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
name: ":/go-previous-symbolic"
|
name: ":/go-previous-symbolic"
|
||||||
}
|
}
|
||||||
text: qsTr("Back")
|
text: qsTr("Back")
|
||||||
onTriggered: gDrawer.scrollViewItem.pop()
|
onTriggered: globalDrawer.scrollViewItem.pop()
|
||||||
}
|
}
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: qsTr("App log")
|
text: qsTr("App log")
|
||||||
|
|
Loading…
Add table
Reference in a new issue