diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-05-12 16:18:18 +0100 |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-06-02 14:41:56 +0100 |
commit | 6c57e76ea755b28d30405fd1239bf4275e8271b4 (patch) | |
tree | d8b0ba145f264ac2c7a2bec0e3eb20fad3379f58 | |
parent | d7057e7c1f1a4769c6e9b0e1c54446d5104c1484 (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.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 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()); |