diff options
author | Andy Shaw <andy.shaw@digia.com> | 2013-01-06 21:45:56 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-10 07:09:56 +0100 |
commit | c40a1f6b2fb0d950bfe79ad66e36930f0282b1eb (patch) | |
tree | 8f83d3cb976469feaca16e571b88fa537fa11be5 /src/widgets/Qt5WidgetsConfigExtras.cmake.in | |
parent | 724cb5d30fda4b62cbc3fa5ab37da1b9c43dad6a (diff) |
Use pos() if the widget is a child of a native window
If the widget is embedded in a native window then pos() should be used
instead of mapToGlobal() so that the right position is used. This was
reproduced with the qtwinmigrate solution as the dialogs were not
centered correctly.
Change-Id: I2ce7771f8c1a73aa74ab11faf4f9c57b922eefab
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/widgets/Qt5WidgetsConfigExtras.cmake.in')
0 files changed, 0 insertions, 0 deletions