summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorBastien Bouclet <bastien.bouclet@gmail.com>2021-01-22 11:14:22 +0100
committerBastien Bouclet <bastien.bouclet@gmail.com>2021-01-29 14:18:42 +0100
commitb61275ee72ae2a895dee3652aca886859962cdb2 (patch)
tree4a9046a5c894cd5ecfe7570575293d87e3e8ea2d /src/plugins/platforms
parent6e7628821dc4cb3b4f1a6356bbe839e94c58a81f (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. Fixes: QTBUG-90042 Change-Id: I53995a2285ef879e3c4fddb9f8da702e256a260f Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> (cherry picked from commit b69b04c4790f319104a1098147cea9405b6e7062) Reviewed-by: Bastien Bouclet <bastien.bouclet@gmail.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions