summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxabstractnavigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxabstractnavigator.cpp')
-rw-r--r--src/plugins/platforms/qnx/qqnxabstractnavigator.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/platforms/qnx/qqnxabstractnavigator.cpp b/src/plugins/platforms/qnx/qqnxabstractnavigator.cpp
index f57f49df9c..93d6e34c71 100644
--- a/src/plugins/platforms/qnx/qqnxabstractnavigator.cpp
+++ b/src/plugins/platforms/qnx/qqnxabstractnavigator.cpp
@@ -44,6 +44,12 @@
#include <QDebug>
#include <QUrl>
+#ifdef QQNXNAVIGATOR_DEBUG
+#define qNavigatorDebug qDebug
+#else
+#define qNavigatorDebug QT_NO_QDEBUG_MACRO
+#endif
+
QT_BEGIN_NAMESPACE
QQnxAbstractNavigator::QQnxAbstractNavigator(QObject *parent)
@@ -64,9 +70,7 @@ bool QQnxAbstractNavigator::invokeUrl(const QUrl &url)
// which is not recognized by the navigator anymore
const bool result = requestInvokeUrl(url.toString().toUtf8());
-#if defined(QQNXNAVIGATOR_DEBUG)
- qDebug() << Q_FUNC_INFO << "url=" << url << "result=" << result;
-#endif
+ qNavigatorDebug() << Q_FUNC_INFO << "url=" << url << "result=" << result;
return result;
}