D23198: Skip mime type check only for files on network mounts
Méven Car
noreply at phabricator.kde.org
Thu Aug 22 11:36:23 BST 2019
meven added a comment.
My last change is more a Proof of Concept : using Solid to avoid mime check.
I would be in favor of adding a static function to Solid encompassing this use case.
For instance :
bool Solid::isMountedOnNetworkShare(const QString &filePath) static;
But the good part is that this solution actually works, we get back icons for local files and don't block plasma with a stale mount.
I am open for suggestion.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190822/fc6308e9/attachment.html>
More information about the Plasma-devel
mailing list