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
Unmaintained
KDE Base Apps
Commits
b8c9aa55
Commit
b8c9aa55
authored
Mar 27, 2013
by
David Faure
Browse files
Update icon if it couldn't be determined upfront (.desktop file on slow mount)
This requires an up-to-date kdelibs >= 4.10. CCBUG: 290666
parent
02f4a69f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp
View file @
b8c9aa55
...
@@ -996,7 +996,7 @@ bool KFileItemModelRolesUpdater::applyResolvedRoles(const KFileItem& item, Resol
...
@@ -996,7 +996,7 @@ bool KFileItemModelRolesUpdater::applyResolvedRoles(const KFileItem& item, Resol
const
bool
resolveAll
=
(
hint
==
ResolveAll
);
const
bool
resolveAll
=
(
hint
==
ResolveAll
);
bool
mimeTypeChanged
=
false
;
bool
mimeTypeChanged
=
false
;
if
(
!
item
.
isMimeTypeKnown
())
{
if
(
!
item
.
isMimeTypeKnown
()
||
!
item
.
isFinalIconKnown
()
)
{
item
.
determineMimeType
();
item
.
determineMimeType
();
mimeTypeChanged
=
true
;
mimeTypeChanged
=
true
;
}
}
...
...
Write
Preview
Supports
Markdown
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