Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
b3c37507
Commit
b3c37507
authored
Nov 15, 2020
by
Méven Car
Committed by
Elvis Angelaccio
Nov 19, 2020
Browse files
Re-allow icons that are not theme icon
Particularly concerned are .desktop files. See also:
15baa936
BUG: 429113
parent
50ca5af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kitemviews/kfileitemmodelrolesupdater.cpp
View file @
b3c37507
...
...
@@ -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
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment