diff options
author | Bastien Bouclet <bastien.bouclet@gmail.com> | 2021-01-22 11:14:22 +0100 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2021-01-26 15:33:08 +0000 |
commit | b69b04c4790f319104a1098147cea9405b6e7062 (patch) | |
tree | 70dc41e1585d3f87f965ccc19f135256224f2c12 /cmake/QtSetup.cmake | |
parent | 127a1ada32419582616989905679a693ce0c5cb4 (diff) |
QIcon: Use the @nx pixmaps in the paint method
Make use of the device pixel ratio in the QIcon paint method so the @nx
hi-dpi pixmaps are selected when appropriate when painting to a
QPainter.
Pick-to: 6.0
Fixes: QTBUG-90042
Change-Id: I53995a2285ef879e3c4fddb9f8da702e256a260f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'cmake/QtSetup.cmake')
0 files changed, 0 insertions, 0 deletions