diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-02-02 08:50:15 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-02-05 21:35:15 +0000 |
commit | 1ffc6ba402114a3443df5309dec186fd337e5b66 (patch) | |
tree | 192aee72837c55232a87cfbaa11f9601ed7a7310 /src/3rdparty/angle | |
parent | 57f4521c99df1e4e2c1fd321a41019ae4e0c17b1 (diff) |
macOS: fix menu positioning on high-DPI
The target position is passed in physical native pixels, so call
QPlatformScreen::availableGeometry() and QPlatformWindow::mapToGlobal()
instead of QScreen::availableSize() and QWindow::mapToGlobal(). The
latter two operate on logical pixels.
Task-number: QTBUG-55251
Change-Id: I281f47baee727bc0f4738fd6d6cdf12c9f462b0f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/3rdparty/angle')
0 files changed, 0 insertions, 0 deletions