useractions: Add separator above the "Close" action
This matches other places in Plasma e.g. the task manager, where there is a similarly placed separator.
This commit is contained in:
parent
cdafbbbd6f
commit
6eff561234
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,8 @@ void UserActionsMenu::init()
|
|||
overflowAction->setText(i18n("&More Actions"));
|
||||
overflowAction->setIcon(QIcon::fromTheme(QStringLiteral("overflow-menu")));
|
||||
|
||||
m_menu->addSeparator();
|
||||
|
||||
m_closeOperation = m_menu->addAction(i18n("&Close"));
|
||||
m_closeOperation->setIcon(QIcon::fromTheme(QStringLiteral("window-close")));
|
||||
setShortcut(m_closeOperation, QStringLiteral("Window Close"));
|
||||
|
|
Loading…
Reference in a new issue