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