<table><tr><td style="">broulik created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D5198" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In contrast to KFileItem it also has special fallback mechanisms, such as using the protocol icon, if none cound be determined.<br />
This way my places:/ KIO will use the proper icon and also trash:/ will at least show a trash can, even if it doesn't (yet) reflect the actual trash state.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><tt style="background: #ebebeb; font-size: 13px;">/home/foo/Desktop</tt>: before *folder*, now *desktop* (QStandardPaths special logic)<br />
<tt style="background: #ebebeb; font-size: 13px;">/home/foo/Pictures</tt>: before *images*, now *images*<br />
<tt style="background: #ebebeb; font-size: 13px;">places:/</tt> before *folder*, now *bookmarks icon* defined in protocol file<br />
<tt style="background: #ebebeb; font-size: 13px;">trash:/</tt> before *folder*, now *trash icon* defined in protocol file</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/D5198" rel="noreferrer">https://phabricator.kde.org/D5198</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>containments/desktop/plugins/folder/foldermodel.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma, hein<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>