Skip to content

kstyle: Create pixmaps with explicit devicePixelRatio

Kai Uwe Broulik requested to merge work/kbroulik/fractional-scale-icons into master

Otherwise Qt takes the qApp devicePixelRatio which can be integer or wrong in case of multi-monitor.

BUG: 471388


Not sure why QGuiApplication::devicePixelRatio() is 2.0 here instead of 1.75 but using the correct explicit DPR is better either way.

Before:

Screenshot_20230815_175020

After:

Screenshot_20230815_174925

Merge request reports

Loading