Commit b97c1f48 authored by Wescoeur's avatar Wescoeur

feat(ui/views/App/Main/MainWindowMenuBar): force menu item roles

parent 046cdd1c
...@@ -53,6 +53,7 @@ Item { ...@@ -53,6 +53,7 @@ Item {
id: menu id: menu
MenuItem { MenuItem {
role: MenuItem.PreferencesRole
shortcut: settingsShortcut.sequence shortcut: settingsShortcut.sequence
text: qsTr('settings') text: qsTr('settings')
...@@ -60,12 +61,14 @@ Item { ...@@ -60,12 +61,14 @@ Item {
} }
MenuItem { MenuItem {
role: MenuItem.AboutRole
text: qsTr('about') text: qsTr('about')
onTriggered: aboutShortcut.onActivated() onTriggered: aboutShortcut.onActivated()
} }
MenuItem { MenuItem {
role: MenuItem.QuitRole
shortcut: quitShortcut.sequence shortcut: quitShortcut.sequence
text: qsTr('quit') text: qsTr('quit')
......
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