summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-28 11:23:17 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-08-28 13:00:05 +0200
commit756d7facf6c862faea1fdeadafba361f248328cf (patch)
treebc023e4fa442bd2adf9ca99ca47902fc5b0fa289 /src/gui/kernel
parentda9a57a1e6b3b227ce3c4030d8e6f4e6c43f0643 (diff)
Fix tst_QHighDpiScaling::scale
Without an override for logicalDpi() the base class implementation would use the geometry of the screen to figure out the DPI, and end up with ~100, which combined with a 96DPI base logical DPI would give a wrong scale factor. Change-Id: I68aecce44d2ee672c7b707dfe5444af8f551e961 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions