summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qscreen_p.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2014-07-14 15:11:07 +0200
committerAlessandro Portale <alessandro.portale@digia.com>2014-09-24 11:34:23 +0200
commit1fc8e089d805f79618bcdab06542c6159f072b15 (patch)
tree8d093254f2ecc48feb887eb101694b24f948a038 /src/gui/kernel/qscreen_p.h
parent0fe2c752731b25afe2b9f033e9d3abb442ebdc15 (diff)
Windows: devicePixelRatio aware QWindowsTheme::standardPixmap
QWindowsTheme::standardPixmap() takes a size parameter which is in user space coordinates. This patch causes it to calculate the size in device pixels, to get the image from the OS in the correct resolution and to set the devicePixelratio of the returned pixmap accordingly. Change-Id: Ifad5d0a26d5fd5945e37e432787d63ee79269295 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/gui/kernel/qscreen_p.h')
0 files changed, 0 insertions, 0 deletions