summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2021-01-29 15:41:23 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2021-02-01 22:43:59 +0100
commitdafe9e23638c4fe272044fae91380a225e19193a (patch)
tree74c12afef0fb2340a5c8da78af38509ff1ce1234 /src/plugins/platforms/ios
parent7d1cda9de3e88db33696675c9723209d0f876cdb (diff)
Windows: Fix frame margins calculation
Passing nullptr to QHighDpi::toNativePixels() is seldom correct, and will work only on the main screen. Instead, call frameMargins() on the platform window (instead of on the QWindow) and get the margins directly in native pixels. Pick-to: 5.15 Fixes: QTBUG-90716 Change-Id: Id7b31ec3246010c367781b64ed832c589bbaeb0d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios')
0 files changed, 0 insertions, 0 deletions