mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
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:
parent
ec8f757f9c
commit
4b530c91c1
|
@ -157,7 +157,7 @@ void DolphinViewActionHandler::createActions()
|
||||||
"This will copy the path of the first selected item into the clipboard."
|
"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});
|
m_actionCollection->setDefaultShortcuts(copyPathAction, {Qt::CTRL | Qt::ALT | Qt::Key_C});
|
||||||
connect(copyPathAction, &QAction::triggered, this, &DolphinViewActionHandler::slotCopyPath);
|
connect(copyPathAction, &QAction::triggered, this, &DolphinViewActionHandler::slotCopyPath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue