D5198: [Folder View] Use KIO::iconNameForUrl

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Mar 27 16:32:54 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170327/df8e666d/attachment.html>


More information about the Plasma-devel mailing list