Commit 6bfd40c0 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Folder Model] Use document-properties icon for "Properties" context menu entry

Makes it consistent with other places where such an entry exists, such as Dolphin's context menu

Differential Revision: https://phabricator.kde.org/D15018
parent 11bd2df1
......@@ -1772,8 +1772,7 @@ void FolderModel::openContextMenu(QQuickItem *visualParent, Qt::KeyboardModifier
// Properties
if (KPropertiesDialog::canDisplay(items)) {
QAction *act = new QAction(menu);
act->setText(i18n("&Properties"));
QAction *act = new QAction(QIcon::fromTheme(QStringLiteral("document-properties")), i18n("&Properties"), menu);
QObject::connect(act, &QAction::triggered, this, &FolderModel::openPropertiesDialog);
menu->addAction(act);
}
......
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