summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxintegration.cpp
diff options
context:
space:
mode:
authorKevin Krammer <kevin.krammer.qnx@kdab.com>2012-04-03 16:11:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-03 21:02:32 +0200
commitc6272b711fad1360c28bd85ed5be5bc3ca541b41 (patch)
tree43c9448adfe4a6a13479578cba7a29f1c60635b8 /src/plugins/platforms/qnx/qqnxintegration.cpp
parent86bbb5d173747a5c407af1ac8a70fcd36b0854cd (diff)
Fixing the QNX QPA build for non blackberry targets
Change-Id: I3d0bb33cadae946d21f8b2566840be9b1ae5101a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxintegration.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp
index d847c632df..90db2a9776 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();