aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-11 17:42:24 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-27 20:03:42 +0900
commit40195a814673fb8557a8b9c67a0f4d61191eb34e (patch)
tree63298e9530b4dfdc2ab58e1f3e8e265521b413ad /jobs/basejob.h
parent028ed5afc18209064002c9f6aa34e08a228d471f (diff)
downloadlibquotient-40195a814673fb8557a8b9c67a0f4d61191eb34e.tar.gz
libquotient-40195a814673fb8557a8b9c67a0f4d61191eb34e.zip
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.
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r--jobs/basejob.h3
1 files changed, 2 insertions, 1 deletions
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;