Use new "edit-copy-path" icon for "Copy Location" menu item

This is safe to change without a fallback icon explicitly specified
because if it doesn't exist in the active icon theme, it will fall back
to edit-copy which is a standard FreeDesktop icon name present in
every icon theme ever.

CCBUG: 423937
This commit is contained in:
Nate Graham 2021-11-29 10:15:41 -07:00
parent ec8f757f9c
commit 4b530c91c1

View file

@ -157,7 +157,7 @@ void DolphinViewActionHandler::createActions()
"This will copy the path of the first selected item into the clipboard."
));
copyPathAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy")));
copyPathAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy-path")));
m_actionCollection->setDefaultShortcuts(copyPathAction, {Qt::CTRL | Qt::ALT | Qt::Key_C});
connect(copyPathAction, &QAction::triggered, this, &DolphinViewActionHandler::slotCopyPath);