diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-12-11 11:50:52 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-12-22 18:40:51 +0100 |
commit | 20cdc663b420a332d16f5f1ca82f352924cd7d1d (patch) | |
tree | ada53fa9e1c90e2a46a131f32a64cdce154677ac /src/network/kernel | |
parent | afddb327bd866ac693e475901d4d10acc6c83757 (diff) |
QWindowsTheme: honor dpr when requesting standard icons
The devicePixelRatio was not taken into account when a standard icon was
requested from the windows qpa which resulted in blurry icons for a
dpr != 1.
Therefore pass the dpr-corrected size to QWindowsTheme::standardPixmap()
and pass this size to SHDefExtractIcon() to get a correctly scaled icon.
Pick-to: 6.7 6.6
Fixes: QTBUG-52622
Change-Id: Ia771dd2f93fa133cf2c4429ef59a9c5cb05ad047
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/network/kernel')
0 files changed, 0 insertions, 0 deletions