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.
Details
Details
/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
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Couldn't we instead make KFileItem use this somehow? It strikes me as odd that two codepaths in KIO lead to different results. If we can't, we should at least KFileItem APIDOX to point to the other method and explaining when to use which.