Commit 7a4c1ad1 authored by Fawzi Mohamed's avatar Fawzi Mohamed Committed by Kai Koehne

utils: fix logging.h

Fix incorrect #if depending on the Qt version.

Change-Id: I4212c841efc6812c29dd64ff88a63b22c6291c78
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 1b6b1077
......@@ -67,7 +67,7 @@ private:
return category; \
}
# ifdef QT_VERSION > 0x050000
#if QT_VERSION > 0x050000
//
// Qt 5.0, 5.1 do have already support for categories in QMessageLogger
......@@ -106,7 +106,7 @@ private:
#include <QLoggingCategory>
#ifdef QT_VERSION < 0x053000
#if QT_VERSION < 0x053000
// printf style for qCDebug was only added in Qt 5.3
......@@ -125,5 +125,5 @@ private:
QMessageLogger(__FILE__, __LINE__, Q_FUNC_INFO, category().categoryName()).critical(__VA_ARGS__)
#endif // QT_VERSION < 0x053000
#endif // QT_VERSION < 0x052000
#endif // LOGGING_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment