mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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
This commit is contained in:
parent
f28ab78825
commit
df8d439c55
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue