Commit 3a93ac85 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/views/App/Main/MainWindowMenuBar): display mac menu bar

parent 25ea2819
...@@ -48,27 +48,29 @@ Item { ...@@ -48,27 +48,29 @@ Item {
// Menu. // Menu.
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
Menu { MenuBar {
id: menu Menu {
id: menu
MenuItem { MenuItem {
shortcut: settingsShortcut.sequence shortcut: settingsShortcut.sequence
text: qsTr('settings') text: qsTr('settings')
onTriggered: settingsShortcut.onActivated() onTriggered: settingsShortcut.onActivated()
} }
MenuItem { MenuItem {
text: qsTr('about') text: qsTr('about')
onTriggered: aboutShortcut.onActivated() onTriggered: aboutShortcut.onActivated()
} }
MenuItem { MenuItem {
shortcut: quitShortcut.sequence shortcut: quitShortcut.sequence
text: qsTr('quit') text: qsTr('quit')
onTriggered: quitShortcut.onActivated() onTriggered: quitShortcut.onActivated()
}
} }
} }
} }
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