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
wilder
Nate Graham 4 years ago
parent 153cb205ce
commit 1ab85d8066
  1. 2
      src/filterHotSpots/FileFilterHotspot.cpp

@ -172,7 +172,7 @@ FileFilterHotSpot::~FileFilterHotSpot() = default;
QList<QAction *> FileFilterHotSpot::actions()
{
QAction *action = new QAction(i18n("Copy Location"), this);
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy")));
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy-path")));
connect(action, &QAction::triggered, this, [this] {
QGuiApplication::clipboard()->setText(_filePath);
});

Loading…
Cancel
Save