mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +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
02f4a69f58
commit
b8c9aa55ff
1 changed files with 1 additions and 1 deletions
|
@ -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