Port away from KIconLoader::loadMimeTypeIcon
ClosedPublic

Authored by nicolasfella on Apr 6 2020, 11:01 PM.

Details

Summary

It does not do much special, except for having a fallback for when no mimetype icon is available.

Test Plan

Viewed attachment properties for file with/without mime type icons

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Apr 6 2020, 11:01 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 6 2020, 11:01 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
nicolasfella requested review of this revision.Apr 6 2020, 11:01 PM
vkrause accepted this revision.Apr 7 2020, 8:47 AM
vkrause added a subscriber: vkrause.

This should even allow removing the entire dependency on KIconThemes in this library I think.

This revision is now accepted and ready to land.Apr 7 2020, 8:47 AM
This revision was automatically updated to reflect the committed changes.

This should even allow removing the entire dependency on KIconThemes in this library I think.

Nope, there's still quite some KIconLoader usage left

This should even allow removing the entire dependency on KIconThemes in this library I think.

Nope, there's still quite some KIconLoader usage left

in all of messagelib, yes, but not in messagecore