Triggered rename dialog. Still have icons in there
Details
Details
- Reviewers
dfaure - Group Reviewers
Frameworks - Commits
- R241:ee08d0b4e56e: [renamedialog] Replace KIconLoader usage with QIcon::fromTheme
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
From what I understood loadMimeTypeIcon has this fallback to use "Unknown" icon, see D15451
Comment Actions
Why is it ugly? I think the fallback is usually meant to fall back to e.g. a built-in icon pixmap, but doing a chain of fromTheme fallbacks is just fine imho.
Comment Actions
loadMimeTypeIcon isn't deprecated, so what's the reason? Porting away from kiconthemes? Should we actually deprecate it?
Comment Actions
OK. Then let me change my comment to: please document in kiconloader.h how to port away from loadMimeTypeIcon, even if it's not actually deprecated.
I remember wondering the same thing at one point.