┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindockwidget.cpp
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2018-09-05 12:24:10 +0200
committerKai Uwe Broulik <[email protected]>2018-09-05 12:24:10 +0200
commit1e7e4fad49e9a84113577abe98770055e9ed050a (patch)
treec3cea8a4688f66bcd9989e6828038e010d3e55d0 /src/dolphindockwidget.cpp
parent5f252da8b58e03b623e56f788ff6d1056269c005 (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/dolphindockwidget.cpp')
0 files changed, 0 insertions, 0 deletions