mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 15:58:16 +00:00
feat(ui/views/App/Main/MainWindowMenuBar): force menu item roles
This commit is contained in:
parent
046cdd1c82
commit
b97c1f488d
1 changed files with 3 additions and 0 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue