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/basejob.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jobs/basejob.h') diff --git a/jobs/basejob.h b/jobs/basejob.h index f1ad66d1..bb3f42d4 100644 --- a/jobs/basejob.h +++ b/jobs/basejob.h @@ -40,7 +40,8 @@ namespace QMatrixClient { Q_OBJECT public: - BaseJob(ConnectionData* connection, JobHttpType type, bool needsToken=true); + BaseJob(ConnectionData* connection, JobHttpType type, + QString name, bool needsToken=true); virtual ~BaseJob(); void start() override; -- cgit v1.2.3