From 859a0c70353d9c92fbc02c9d5aa467bf9c28e9e6 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 5 Jan 2018 19:21:54 +0900 Subject: BaseJob: Provide a simplified constructor --- jobs/basejob.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jobs/basejob.h') diff --git a/jobs/basejob.h b/jobs/basejob.h index 6b34c9f5..daca1e79 100644 --- a/jobs/basejob.h +++ b/jobs/basejob.h @@ -129,7 +129,9 @@ namespace QMatrixClient public: BaseJob(HttpVerb verb, const QString& name, const QString& endpoint, - const Query& query = {}, const Data& data = {}, + bool needsToken = true); + BaseJob(HttpVerb verb, const QString& name, const QString& endpoint, + const Query& query, const Data& data = {}, bool needsToken = true); Status status() const; -- cgit v1.2.3