diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-05-18 15:33:49 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-06-22 11:22:24 +0000 |
commit | 450e7f06f22e6a30c85624b4d37f8433cbfd3b73 (patch) | |
tree | b8ef3e464459b2f22f143d3a1e2c857d5e0b13d2 /mkspecs/qnx-x86-64-qcc | |
parent | f54bd20f6afbbd7bcbc55b3f3f59ed15f91f8ecd (diff) |
QDesktopScreenWidget::screenNumber(): Use native geometry.
Coordinates in device independent pixels are not suitable for checking
intersection of screen areas since the screen positions are always
unscaled.
Move the code to determine the QWindow handle out and transform
the frame to device pixels and use QPlatformScreen to check.
Change-Id: Idd94f32abc43bc7a04e4056243b7f810631f70cc
Task-number: QTBUG-52606
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'mkspecs/qnx-x86-64-qcc')
0 files changed, 0 insertions, 0 deletions