Skip to content

Add workaround for icon size in HiDPI environment

Evgeny Brazgin requested to merge xapienz/krusader:20230305_icon into master

Making workaround for bug https://bugs.kde.org/show_bug.cgi?id=462307. As stated in discussion, QItemDelegate ignores devicePixelRatio for QPixmap. However, this seems to be not the case for QIcon, which is drawn correctly. So wrapping QPixmap into QIcon to fix rendering.

See preview (left pane without previews, right pane with previews).

Before After
image image

Merge request reports

Loading