Commit b8c9aa55 authored by David Faure's avatar David Faure

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
......@@ -996,7 +996,7 @@ bool KFileItemModelRolesUpdater::applyResolvedRoles(const KFileItem& item, Resol
const bool resolveAll = (hint == ResolveAll);
bool mimeTypeChanged = false;
if (!item.isMimeTypeKnown()) {
if (!item.isMimeTypeKnown() || !item.isFinalIconKnown()) {
item.determineMimeType();
mimeTypeChanged = true;
}
......
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