Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

[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);
}
......
Markdown is supported
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