summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorIceyer Lee <iceyer@gmail.com>2017-09-18 11:46:51 +0800
committerIceyer <me@iceyer.net>2017-09-21 06:41:13 +0000
commit72188001bbb408be22e5ad0fc90ca13b97c408f8 (patch)
treec0de10cc74a0982555c6a16c7e30e03cd1e3bbc8 /src/gui
parent92ca09147fc239762927595165f71a0d1ecff98f (diff)
Fix QGraphicsEffect draw error size in decimal scale factor
When QT_SCALE_FACTOR=1.5 or other decimal, QWidget draw QGraphicsEffect in error size. Use QPaintDevice::devicePixelRatioF instead QPaintDevice::devicePixelRatio() will fix it. Change-Id: I423e224d73b948ecdeca0e6b24c51f12a724a0ba Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions