aboutsummaryrefslogtreecommitdiff
path: root/jobs/postmessagejob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-05-01 01:54:53 +0900
committerGitHub <noreply@github.com>2017-05-01 01:54:53 +0900
commit096a05d59654244f7c928dc5f2537a760070a577 (patch)
tree1ee17f9016b0f333c08cf5d0eb0c8a8ab86a8573 /jobs/postmessagejob.cpp
parent9a13bbfd8a800712d0a2fcc4887c8d4115d06d4e (diff)
parent3fa1ee3c6b04d0793ccca3f903797625f7a08d03 (diff)
downloadlibquotient-096a05d59654244f7c928dc5f2537a760070a577.tar.gz
libquotient-096a05d59654244f7c928dc5f2537a760070a577.zip
Merge pull request #61 from elvisangelaccio/qloggingcategory
Port to categorized logging
Diffstat (limited to 'jobs/postmessagejob.cpp')
-rw-r--r--jobs/postmessagejob.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/jobs/postmessagejob.cpp b/jobs/postmessagejob.cpp
index 69cc814d..9a102325 100644
--- a/jobs/postmessagejob.cpp
+++ b/jobs/postmessagejob.cpp
@@ -18,6 +18,7 @@
#include "postmessagejob.h"
#include "../connectiondata.h"
+#include "util.h"
#include <QtNetwork/QNetworkReply>
@@ -62,6 +63,6 @@ BaseJob::Status PostMessageJob::parseJson(const QJsonDocument& data)
if( data.object().contains("event_id") )
return Success;
- qDebug() << data;
+ qCDebug(JOBS) << data;
return { UserDefinedError, "No event_id in the JSON response" };
}