aboutsummaryrefslogtreecommitdiffstats
path: root/src/geniviextras/qdltregistration.cpp
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-09-19 15:39:03 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2017-09-19 15:39:48 +0200
commitea364b4cde9feb49e9f15313fb1b78e858580b70 (patch)
tree78d13701311eeff84c287fceee979b900c560cb7 /src/geniviextras/qdltregistration.cpp
parentbca0e8b3169e62414942532745c4ffe76549b12a (diff)
parent9d372b44458baeab4ee5d131477dfc4bbd858f6b (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10
Diffstat (limited to 'src/geniviextras/qdltregistration.cpp')
-rw-r--r--src/geniviextras/qdltregistration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geniviextras/qdltregistration.cpp b/src/geniviextras/qdltregistration.cpp
index e2dc499..f492556 100644
--- a/src/geniviextras/qdltregistration.cpp
+++ b/src/geniviextras/qdltregistration.cpp
@@ -90,7 +90,7 @@ void QDltRegistrationPrivate::registerCategory(CategoryInfo &info)
Q_ASSERT_X(m_dltAppRegistered, "registerCategory", "A DLT Application needs to be registered before registering a Logging Category");
DLT_REGISTER_CONTEXT_LL_TS(*info.m_context, info.m_ctxName, info.m_ctxDescription, category2dltLevel(info.m_category), DLT_TRACE_STATUS_DEFAULT);
-#ifdef QT_FEATURE_dlt_2_12
+#if QT_CONFIG(dlt_2_12)
//TODO move to lamda once c++11 is ok to be used
DLT_REGISTER_LOG_LEVEL_CHANGED_CALLBACK(*info.m_context, &qtGeniviLogLevelChangedHandler);
#endif