diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-11 09:04:02 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-12-15 07:28:36 +0000 |
commit | 43d932cbb3466dfd30870ed2a661d424401c2992 (patch) | |
tree | 6e6b5062f408fa8461d178ca038a2b1bd5f7c0d2 /src | |
parent | ac68eb35e636c23bd0cb5293be5151163bb3a853 (diff) |
QQuickWidget: Update position of offscreen window in show().
The position of the offscreen window needs to be exact
as it is used for popup menus by the Quick Controls.
Updating the position in show amends the situation.
Task-number: QTBUG-49097
Change-Id: I416021d6632ede45b1f9dc6b35a3ff15394566ee
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/quickwidgets/qquickwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickwidgets/qquickwidget.cpp b/src/quickwidgets/qquickwidget.cpp index c97d747189..748b450643 100644 --- a/src/quickwidgets/qquickwidget.cpp +++ b/src/quickwidgets/qquickwidget.cpp @@ -1220,6 +1220,7 @@ bool QQuickWidget::event(QEvent *e) } break; + case QEvent::Show: case QEvent::Move: d->updatePosition(); break; |