summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2019-06-19 12:54:46 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2019-06-19 13:12:59 +0200
commit1975a98345d96b6155b651bba65eb8ae8ca30d92 (patch)
tree2da21c203d6a3f3796c2819edf08e484349fc9d3 /src/gui
parent084f84d112dc3dc61de958027ba05508220756d4 (diff)
macOS: prevent duplicate backing store scaling
m_requestedSize is already scaled by the QtGui scale factor (e.g. as set by QT_SCALE_FACTOR). Multiplying by QWindow::devicePixelRatio() then applies this factor again. Use QPlatformWindow::devicePixelRatio() instead, which returns the platform scale factor. Change-Id: I133e99d84f4718215fda9ef0cf81a113b51db2c7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions