summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt
diff options
context:
space:
mode:
authorThorbjørn Lund Martsum <tmartsum@gmail.com>2022-05-17 09:41:59 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-05-24 08:06:32 +0200
commit344e4cb9beb4e11272ea20b06944bd6702e42b9f (patch)
tree916fe1250292775d90470b158f198cfa618a730f /src/plugins/platforms/winrt
parent8e15aeee76324af1f4fa3247547c707c4260c870 (diff)
Fix QWidget::metric to use widget screen dpr instead of app-dprHEADdev
Use the widget screen dpr in calculations rather than qApp->devicePixelRatio(). The screen may have been directly set (without the window handle being initialized) Task-number: QTBUG-103309 Task-number: QTBUG-49663 Task-number: QTBUG-101947 Task-number: QTBUG-102982 Change-Id: I2af2073640b171baf68575e3bc93b29b6a9a471d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/winrt')
0 files changed, 0 insertions, 0 deletions