[KIconLoader] Replace heap-allocated QImageReader with stack-allocated one
ClosedPublic

Authored by bruns on Oct 26 2018, 11:24 PM.

Details

Summary

Minor optimization, saves one new/delete pair per non-cached icon.

Test Plan

make
no functional change

Diff Detail

Repository
R302 KIconThemes
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bruns created this revision.Oct 26 2018, 11:24 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 26 2018, 11:24 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Oct 26 2018, 11:24 PM
apol accepted this revision.Oct 26 2018, 11:33 PM
This revision is now accepted and ready to land.Oct 26 2018, 11:33 PM
This revision was automatically updated to reflect the committed changes.