From c6272b711fad1360c28bd85ed5be5bc3ca541b41 Mon Sep 17 00:00:00 2001 From: Kevin Krammer Date: Tue, 3 Apr 2012 16:11:30 +0200 Subject: [PATCH] Fixing the QNX QPA build for non blackberry targets Change-Id: I3d0bb33cadae946d21f8b2566840be9b1ae5101a Reviewed-by: Thomas McGuire Reviewed-by: Sean Harmer Reviewed-by: Robin Burchell --- src/plugins/platforms/qnx/qqnxintegration.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp index d847c63..90db2a9 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.cpp +++ b/src/plugins/platforms/qnx/qqnxintegration.cpp @@ -104,14 +104,11 @@ QQnxIntegration::QQnxIntegration() } // Create/start navigator event handler - // Not on BlackBerry, it has specialised event dispatcher which also handles navigator events -#ifndef Q_OS_BLACKBERRY - m_navigatorEventHandler = new QQnxNavigatorEventHandler(*primaryDisplay()); + m_navigatorEventHandler = new QQnxNavigatorEventHandler; // delay invocation of start() to the time the event loop is up and running // needed to have the QThread internals of the main thread properly initialized QMetaObject::invokeMethod(m_navigatorEventHandler, "start", Qt::QueuedConnection); -#endif // Create displays for all possible screens (which may not be attached) createDisplays(); -- 2.7.4