summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsdialoghelpers.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-08-05 14:43:15 +0200
committerAndy Shaw <andy.shaw@qt.io>2016-08-30 12:48:14 +0000
commit2ca4fd401b90831857a0dcd643e5d382feb75cb0 (patch)
treee741c610819d3fbedd97ffee093e30a61d274dd0 /src/plugins/platforms/windows/qwindowsdialoghelpers.cpp
parent579283507c392fc5bc0976c054304ecb8938cb06 (diff)
QIcon: Set the pixmap's dpr to 1.0 if the window is also set to 1.0
When the pixmap is initially from a higher device pixel ratio and it is being used on a window that does not have a device pixel ratio other than 1.0 set then the pixmap should also have it set to 1.0. This ensures that the size of the pixmap is preserved and it is not scaled down as a result on the normal display. Change-Id: Ie5d96b3e1508867b723000bea182c8157640af02 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsdialoghelpers.cpp')
0 files changed, 0 insertions, 0 deletions