Commit 078dd8e1 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Move settings contextual menu into the drawer, under "Help"

BUG: 390349
parent ac23bf12
...@@ -119,6 +119,23 @@ Kirigami.GlobalDrawer { ...@@ -119,6 +119,23 @@ Kirigami.GlobalDrawer {
ActionListItem { ActionListItem {
action: settingsAction action: settingsAction
} }
ActionListItem {
action: Kirigami.Action {
text: i18n("Help")
icon.name: "help-feedback"
onTriggered: helpMenu.open()
}
readonly property var p0: Menu {
id: helpMenu
title: i18n("Help")
MenuItem { action: ActionBridge { action: app.action("help_about_app") } }
MenuItem { action: ActionBridge { action: app.action("help_report_bug") } }
}
}
ActionListItem { ActionListItem {
objectName: "updateButton" objectName: "updateButton"
action: updateAction action: updateAction
......
...@@ -12,11 +12,6 @@ DiscoverPage { ...@@ -12,11 +12,6 @@ DiscoverPage {
title: i18n("Settings") title: i18n("Settings")
property string search: "" property string search: ""
contextualActions: [
KirigamiActionBridge { action: app.action("help_about_app") },
KirigamiActionBridge { action: app.action("help_report_bug") }
]
mainItem: ListView { mainItem: ListView {
id: sourcesView id: sourcesView
model: QSortFilterProxyModel { model: QSortFilterProxyModel {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment