diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-12 15:18:18 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-06-02 13:41:56 (GMT) |
commit | 6c57e76ea755b28d30405fd1239bf4275e8271b4 (patch) | |
tree | d8b0ba145f264ac2c7a2bec0e3eb20fad3379f58 | |
parent | d7057e7c1f1a4769c6e9b0e1c54446d5104c1484 (diff) | |
download | Qt-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
-rw-r--r-- | src/gui/kernel/qwidget_s60.cpp | 1 |
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()); |