]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use new "edit-copy-path" icon for "Copy Location" menu item
authorNate Graham <nate@kde.org>
Mon, 29 Nov 2021 17:15:41 +0000 (10:15 -0700)
committerNate Graham <nate@kde.org>
Mon, 29 Nov 2021 17:23:06 +0000 (10:23 -0700)
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

src/views/dolphinviewactionhandler.cpp

index 90109605b65a1ae4b9abfb5e358927d4b66b4987..47247ec354ebb074251f783a947a054388a6a00d 100644 (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);