|
|
|
@ -149,23 +149,6 @@ ApplicationWindow { |
|
|
|
|
menuBar: MenuBar { |
|
|
|
|
Menu { |
|
|
|
|
title: "File" |
|
|
|
|
MenuItem { |
|
|
|
|
text: "Import App" |
|
|
|
|
shortcut: "Ctrl+o" |
|
|
|
|
onTriggered: { |
|
|
|
|
generalFileDialog.show(true, importApp) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
MenuItem { |
|
|
|
|
text: "Add plugin" |
|
|
|
|
onTriggered: { |
|
|
|
|
generalFileDialog.show(true, function(path) { |
|
|
|
|
addPlugin(path, {close: true, section: "apps"}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
MenuItem { |
|
|
|
|
text: "New tab" |
|
|
|
|
shortcut: "Ctrl+t" |
|
|
|
@ -262,18 +245,6 @@ ApplicationWindow { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Menu { |
|
|
|
|
title: "GLOBAL SHORTCUTS" |
|
|
|
|
visible: false |
|
|
|
|
MenuItem { |
|
|
|
|
visible: false |
|
|
|
|
shortcut: "Ctrl+l" |
|
|
|
|
onTriggered: { |
|
|
|
|
url.focus = true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
statusBar: StatusBar { |
|
|
|
|