diff options
| author | Kai Uwe Broulik <[email protected]> | 2019-09-16 08:52:05 +0200 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2019-09-16 08:52:05 +0200 |
| commit | cef2c67613ef07a350d18f690b3b5960b9dfda12 (patch) | |
| tree | 7e96d66b6c93b6e42b3078a08a45cc2178e11237 /src/panels/information | |
| parent | cb0f6f4d9bf55f072ce90653d448af59c0edf680 (diff) | |
[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
Diffstat (limited to 'src/panels/information')
0 files changed, 0 insertions, 0 deletions
