Skip to content
Commit cef2c676 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[KStandardItemListWidget] Request the pixmap size we want and let the icon loader scale it

I noticed that depending on the configured icon size it would spend a significant amount of time in KPixmapModifier::scale.
I don't see a point in requesting a fixed icon size and then scale it down manually as opposed to having the KIconLoader do the scaling for us.
Especially for SVGs it could then even serve us a properly rendered SVG for this size rather than a scaled down pixmap version.

Differential Revision: https://phabricator.kde.org/D22116
parent cb0f6f4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment