BB10: Do not send deactivate event twice

On BB10, NAVIGATOR_WINDOW_INACTIVE is called before
NAVIGATOR_WINDOW_INVISIBLE, already triggering handleWindowGroupDeactivated()

Change-Id: I7d82c0220fe8dc8e87bfa2b31af6085c7d1d6cee
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
bb10
Rafael Roquetto 2013-07-31 15:43:33 -03:00 committed by The Qt Project
parent 4994300fe7
commit 9de6d1a74f
1 changed files with 2 additions and 0 deletions

View File

@ -226,7 +226,9 @@ bool QQnxBpsEventFilter::handleNavigatorEvent(bps_event_t *event)
#endif
break;
case NAVIGATOR_WINDOW_INVISIBLE:
#if defined(Q_OS_BLACKBERRY_TABLET)
m_navigatorEventHandler->handleWindowGroupDeactivated(id);
#endif
break;
}