diff options
| author | Kai Uwe Broulik <[email protected]> | 2018-09-05 12:24:10 +0200 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2018-09-05 12:24:10 +0200 |
| commit | 1e7e4fad49e9a84113577abe98770055e9ed050a (patch) | |
| tree | c3cea8a4688f66bcd9989e6828038e010d3e55d0 /src/dolphintabwidget.cpp | |
| parent | 5f252da8b58e03b623e56f788ff6d1056269c005 (diff) | |
[KStandardItemListWidget] Round to icon size before applying scaling
Otherwise for 22px icons on high dpi we will request either the wrong icons or scale them needlessly.
Dolphin requests a pixmap of 22px, this is then multiplied by dpr resulting in 44 which isn't a valid icon size (only 32 or 48 are).
Moreover, we will also hit the path where it will scale the pixmap to a proper icon size resulting in blurry icons
(and a performance penalty).
Differential Revision: https://phabricator.kde.org/D15260
Diffstat (limited to 'src/dolphintabwidget.cpp')
0 files changed, 0 insertions, 0 deletions
