Commit 1ab85d80 authored by Nate Graham's avatar Nate Graham
Browse files

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
parent 153cb205
Pipeline #102872 passed with stage
in 4 minutes and 2 seconds
......@@ -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);
});
......
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