From 40195a814673fb8557a8b9c67a0f4d61191eb34e Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 11 May 2016 17:42:24 +0900 Subject: Set the object name for each job, to make it clear which job has failed And we don't need two log lines for timeouts. --- jobs/postmessagejob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jobs/postmessagejob.cpp') diff --git a/jobs/postmessagejob.cpp b/jobs/postmessagejob.cpp index 67c79669..65042ed0 100644 --- a/jobs/postmessagejob.cpp +++ b/jobs/postmessagejob.cpp @@ -35,7 +35,7 @@ class PostMessageJob::Private }; PostMessageJob::PostMessageJob(ConnectionData* connection, Room* room, QString type, QString message) - : BaseJob(connection, JobHttpType::PostJob) + : BaseJob(connection, JobHttpType::PostJob, "PostMessageJob") , d(new Private) { d->type = type; @@ -71,4 +71,4 @@ void PostMessageJob::parseJson(const QJsonDocument& data) return; } emitResult(); -} \ No newline at end of file +} -- cgit v1.2.3