summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-05-12 15:18:18 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-06-02 13:41:56 (GMT)
commit6c57e76ea755b28d30405fd1239bf4275e8271b4 (patch)
treed8b0ba145f264ac2c7a2bec0e3eb20fad3379f58 /src/gui
parentd7057e7c1f1a4769c6e9b0e1c54446d5104c1484 (diff)
downloadQt-6c57e76ea755b28d30405fd1239bf4275e8271b4.zip
Qt-6c57e76ea755b28d30405fd1239bf4275e8271b4.tar.gz
Qt-6c57e76ea755b28d30405fd1239bf4275e8271b4.tar.bz2
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
Diffstat (limited to 'src/gui')
-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 6b91dff..86b858d 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());