Playbook: Fix rendering when thumbnailed/minimized

On Playbook, rendering should happen when the application is thumbnailed,
therefore we need to send a window activated event to resume rendering once
the thumbnail is restored from the minimized state.

Change-Id: I0fa5da483dc101e25f718e52859a66edfe5c66c7
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
Rafael Roquetto 2013-07-31 15:27:07 -03:00 committed by The Qt Project
parent 425888709d
commit 4994300fe7

View File

@ -221,6 +221,9 @@ bool QQnxBpsEventFilter::handleNavigatorEvent(bps_event_t *event)
break;
case NAVIGATOR_WINDOW_THUMBNAIL:
m_navigatorEventHandler->handleWindowGroupStateChanged(id, Qt::WindowMinimized);
#if defined(Q_OS_BLACKBERRY_TABLET)
m_navigatorEventHandler->handleWindowGroupActivated(id);
#endif
break;
case NAVIGATOR_WINDOW_INVISIBLE:
m_navigatorEventHandler->handleWindowGroupDeactivated(id);