diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-01-06 16:10:11 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-02-12 18:57:19 +0000 |
commit | 9915630d0886434e8984904b1cadedc81dc78ca0 (patch) | |
tree | b582adfeb8e999a429356da422b055969dfecad1 /src/gui/image/qgifhandler.cpp | |
parent | 966e893151952d19131f21738861c483b8af042c (diff) |
QPlatformWindow::screenForGeometry(): Use mapToGlobal().
QPlatformWindow::mapToGlobal() should be used to obtain global coordinates
for foreign/embedded windows. They do not have a parent QWindow, but the
geometry passed in might be local to their native parent window.
For normal top-level windows, this is a no-op.
Task-number: QTBUG-50206
Task-number: QTBUG-41186
Change-Id: I00889b28db69ae65057f48b9e74bd4d8cfffa136
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/gui/image/qgifhandler.cpp')
0 files changed, 0 insertions, 0 deletions