summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-12 16:18:18 +0100
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-06-02 14:41:56 +0100
commit6c57e76ea755b28d30405fd1239bf4275e8271b4 (patch)
treed8b0ba145f264ac2c7a2bec0e3eb20fad3379f58
parentd7057e7c1f1a4769c6e9b0e1c54446d5104c1484 (diff)
Enable visibility change events on all Symbian native windows
Previously, these events were enabled only on top-level widgets. This patch enables them also for native child widgets. Task-number: QTBUG-8697 Reviewed-by: Jason Barron
-rw-r--r--src/gui/kernel/qwidget_s60.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp
index 6b91dff2f7..86b858dabd 100644
--- a/src/gui/kernel/qwidget_s60.cpp
+++ b/src/gui/kernel/qwidget_s60.cpp
@@ -433,6 +433,7 @@ void QWidgetPrivate::create_sys(WId window, bool /* initializeWindow */, bool de
// Request mouse move events.
drawableWindow->PointerFilter(EPointerFilterEnterExit
| EPointerFilterMove | EPointerFilterDrag, 0);
+ drawableWindow->EnableVisibilityChangeEvents();
if (q->isVisible() && q->testAttribute(Qt::WA_Mapped)) {
activateSymbianWindow(control.data());