UserActionsMenu: Use an icon for the "Move to Desktop" -> "New Desktop" action
Taken from a pager applet, where all actions have icons. Worth porting to task manager as well.
This commit is contained in:
parent
a1ed313a42
commit
e9cd8be36d
1 changed files with 2 additions and 0 deletions
|
@ -563,7 +563,9 @@ void UserActionsMenu::desktopPopupAboutToShow()
|
|||
}
|
||||
|
||||
m_desktopMenu->addSeparator();
|
||||
|
||||
action = m_desktopMenu->addAction(i18nc("Create a new desktop and move the window there", "&New Desktop"));
|
||||
action->setIcon(QIcon::fromTheme(QStringLiteral("list-add")));
|
||||
connect(action, &QAction::triggered, this, [this]() {
|
||||
if (!m_window) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue