dfaure added a comment.
What I mean is: 1. improve KFileItem::isSlow to use this Solid code 2. improve KFileItem to enable SkipMimeTypeFromContent automatically if isSlow is true However maybe we don't want that in dolphin? Not sure. (In that case a new enum value can be added, to disable some features "if slow".) In any case I see no reason for this code to be in recentusagemodel, it's just one out of many KFileItem users, with similar needs as most others. (And all this is the reason I hate network mounts, and the much-requested fuse-kio integration... what looks like a local path ends up being unusable as a local path and needs special treatment anyway...) REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D23198 To: meven, #plasma, dfaure Cc: davidedmundson, ngraham, broulik, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart