<table><tr><td style="">meven added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23198">View Revision</a></tr></table><br /><div><div><p>My last change is more a Proof of Concept : using Solid to avoid mime check.<br />
I would be in favor of adding a static function to Solid encompassing this use case.<br />
For instance :<br />
bool Solid::isMountedOnNetworkShare(const QString &filePath) static;</p>
<p>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.</p>
<p>I am open for suggestion.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23198">https://phabricator.kde.org/D23198</a></div></div><br /><div><strong>To: </strong>meven, Plasma, dfaure<br /><strong>Cc: </strong>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<br /></div>