aboutsummaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-06-29 07:27:51 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-06-29 07:27:51 +0900
commit47c2015beb75693c7181fb7359a4aa166e926fe7 (patch)
treeaf905a0365ba425dcbf5c9a3d115c68e95302a8c /logging.h
parent3aedfe41090e466fc161df9619dc377ec72f7297 (diff)
downloadlibquotient-47c2015beb75693c7181fb7359a4aa166e926fe7.tar.gz
libquotient-47c2015beb75693c7181fb7359a4aa166e926fe7.zip
Fixed building with Qt version=5.4; moved away a macro unused in headers
Diffstat (limited to 'logging.h')
-rw-r--r--logging.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/logging.h b/logging.h
index a769568c..e2a4c9a7 100644
--- a/logging.h
+++ b/logging.h
@@ -27,13 +27,6 @@ Q_DECLARE_LOGGING_CATEGORY(EPHEMERAL)
Q_DECLARE_LOGGING_CATEGORY(JOBS)
Q_DECLARE_LOGGING_CATEGORY(SYNCJOB)
-// Use LOGGING_CATEGORY instead of Q_LOGGING_CATEGORY in the rest of the code
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
-#define LOGGING_CATEGORY(Name, Id) Q_LOGGING_CATEGORY((Name), (Id), QtInfoMsg)
-#else
-#define LOGGING_CATEGORY(Name, Id) Q_LOGGING_CATEGORY((Name), (Id))
-#endif
-
namespace QMatrixClient
{
// QDebug manipulators