summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
diff options
context:
space:
mode:
authorIceyer Lee <[email protected]>2017-09-18 11:46:51 +0800
committerIceyer <[email protected]>2017-09-21 06:41:13 +0000
commit72188001bbb408be22e5ad0fc90ca13b97c408f8 (patch)
treec0de10cc74a0982555c6a16c7e30e03cd1e3bbc8 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp
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 <[email protected]> Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions