diff options
author | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2022-01-04 10:06:57 +0100 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2022-01-15 16:16:13 +0100 |
commit | da6c8b2fc6bc1a29b8a88c4ecce53eaf811eb06c (patch) | |
tree | 4dd9d1b5b7fb7ea2818a2b734242d09ad3899b80 /tests | |
parent | cfca4188f9d294cca9be96ae98ba0ed311be21b7 (diff) |
Fix Pick Screen Color with multiple monitors
QScreen::grabWindow expects screen coordinates, not global ones, use
QScreen::geometry() to compute them.
Fixes: QTBUG-99472
Pick-to: 6.2 6.3
Change-Id: Ic4b99577b8cb394e6cd0a2d3f554bb3ec8250afa
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Zhang Hao <zhanghao@uniontech.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions