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 {
// Menu.
// ---------------------------------------------------------------------------
Menu {
id: menu
MenuBar {
Menu {
id: menu
MenuItem {
shortcut: settingsShortcut.sequence
text: qsTr('settings')
MenuItem {
shortcut: settingsShortcut.sequence
text: qsTr('settings')
onTriggered: settingsShortcut.onActivated()
}
onTriggered: settingsShortcut.onActivated()
}
MenuItem {
text: qsTr('about')
MenuItem {
text: qsTr('about')
onTriggered: aboutShortcut.onActivated()
}
onTriggered: aboutShortcut.onActivated()
}
MenuItem {
shortcut: quitShortcut.sequence
text: qsTr('quit')
MenuItem {
shortcut: quitShortcut.sequence
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