Commit 486c3d7b authored by Nate Graham's avatar Nate Graham
Browse files

Remove Quit action from hamburger menu

In this context, it's not needed; the user is expected to close the
window by clicking on its close button, as most users do. And the
principle of the hamburger menu is to never offer duplicate
functionality that's available elsewhere in the appliction's menu UI.
parent bbff2deb
......@@ -16,7 +16,6 @@ Menu {
title: i18nc("open application menu", "Application Menu")
property var helpAction: ElisaApplication.action("help_contents")
property var quitApplication: ElisaApplication.action("file_quit")
property var reportBugAction: ElisaApplication.action("help_report_bug")
property var aboutAppAction: ElisaApplication.action("help_about_app")
property var configureShortcutsAction: ElisaApplication.action("options_configure_keybinding")
......@@ -126,15 +125,4 @@ Menu {
aboutAppAction.trigger()
}
}
MenuSeparator {
visible: quitApplication.text !== ""
}
Action {
text: quitApplication.text
shortcut: ElisaApplication.actionShortcut(quitApplication)
icon.name: ElisaApplication.iconName(quitApplication.icon)
onTriggered: quitApplication.trigger()
}
}
Supports Markdown
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