summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp
diff options
context:
space:
mode:
authorBernd Weimer <bweimer@blackberry.com>2014-05-06 10:40:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-13 08:42:46 +0200
commit8094bb537ac87d477b04b6d486653983c8423e02 (patch)
tree219f3366fda79efe4c6764018c1ce81ed748dd81 /src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp
parentd075df993c078478e2eb8ff909dfe63ae1b2a6d7 (diff)
QNX: Silence startup warnings
Missing PPS objects for navigator, virtual keyboard and buttons can be expected on QNX and should not lead to warnings. Virtual keyboard info message does not contain locale object any more. Change-Id: I447d439ffbf4ea6e03f6a8bca4422a9a121d85f4 Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp b/src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp
index 2f531efd8b..d3f843ac39 100644
--- a/src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp
+++ b/src/plugins/platforms/qnx/qqnxbuttoneventnotifier.cpp
@@ -90,7 +90,9 @@ void QQnxButtonEventNotifier::start()
errno = 0;
m_fd = qt_safe_open(ppsPath, O_RDONLY);
if (m_fd == -1) {
+#if defined(Q_OS_BLACKBERRY) || defined (QQNXBUTTON_DEBUG)
qWarning("QQNX: failed to open buttons pps, errno=%d", errno);
+#endif
return;
}