Commit b3c37507 authored by Méven Car's avatar Méven Car Committed by Elvis Angelaccio
Browse files

Re-allow icons that are not theme icon

Particularly concerned are .desktop files.

See also:
15baa936

BUG: 429113
parent 50ca5af7
......@@ -1058,7 +1058,7 @@ bool KFileItemModelRolesUpdater::applyResolvedRoles(int index, ResolveHint hint)
data = rolesData(item);
}
if (QIcon::hasThemeIcon(item.iconName())) {
if (!item.iconName().isEmpty()) {
data.insert("iconName", item.iconName());
}
......
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