Verified Commit e9cd8be3 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

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.
parent a1ed313a
Pipeline #224165 passed with stage
in 13 minutes and 43 seconds
......@@ -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;
......
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