QNX: Register for navigator events before any window creation
authorSean Harmer <sean.harmer.qnx@kdab.com>
Mon, 21 May 2012 15:08:15 +0000 (16:08 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 23 May 2012 01:15:18 +0000 (03:15 +0200)
commit03392e1edffee2ea7fdbcbee546dd5b11a448bc2
tree4d78a92eb981ad54550750a074aff44c10cae3fe
parent3a14f0301c4cce71a5573c6e5742dc6d00967b6c
QNX: Register for navigator events before any window creation

This prevents a possible race condition in which the nvaigator service
notices that we have created a window and starts sending us messages
possibly before we have registered with bps for navigator messages.

This resulted in applications sometimes missing navigator messages at
startup.

Change-Id: I362fd782d7798990bc196f23e07b58293b13275d
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
src/plugins/platforms/qnx/qqnxintegration.cpp