broulik created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY In contrast to KFileItem it also has special fallback mechanisms, such as using the protocol icon, if none cound be determined. 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. TEST PLAN `/home/foo/Desktop`: before *folder*, now *desktop* (QStandardPaths special logic) `/home/foo/Pictures`: before *images*, now *images* `places:/` before *folder*, now *bookmarks icon* defined in protocol file `trash:/` before *folder*, now *trash icon* defined in protocol file REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D5198 AFFECTED FILES containments/desktop/plugins/folder/foldermodel.cpp To: broulik, #plasma, hein Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol