diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-10-17 07:24:34 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-10-17 07:24:34 +0900 |
commit | f2cfd4691d4830f57ebaea08b9aa9a4db3aad537 (patch) | |
tree | 9281918022181ec6eb3b28b0fe6dcbef572233e1 /jobs | |
parent | 4943cbea505aacdd33bf93c3365588ba73785d4d (diff) | |
download | libquotient-f2cfd4691d4830f57ebaea08b9aa9a4db3aad537.tar.gz libquotient-f2cfd4691d4830f57ebaea08b9aa9a4db3aad537.zip |
Changed the order of arguments in SyncJob::SyncJob()
Diffstat (limited to 'jobs')
-rw-r--r-- | jobs/syncjob.cpp | 4 | ||||
-rw-r--r-- | jobs/syncjob.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/jobs/syncjob.cpp b/jobs/syncjob.cpp index e8ee25df..521f829e 100644 --- a/jobs/syncjob.cpp +++ b/jobs/syncjob.cpp @@ -38,8 +38,8 @@ class SyncJob::Private static size_t jobId = 0; -SyncJob::SyncJob(ConnectionData* connection, QString filter, int timeout, - QString since, QString presence) +SyncJob::SyncJob(ConnectionData* connection, + QString since, QString filter, int timeout, QString presence) : BaseJob(connection, JobHttpType::GetJob, QString("SyncJob-%1").arg(++jobId), "_matrix/client/r0/sync") , d(new Private) diff --git a/jobs/syncjob.h b/jobs/syncjob.h index 36aaf504..e7b23d16 100644 --- a/jobs/syncjob.h +++ b/jobs/syncjob.h @@ -99,8 +99,8 @@ namespace QMatrixClient class SyncJob: public BaseJob { public: - SyncJob(ConnectionData* connection, QString filter, int timeout, - QString since = {}, QString presence = {}); + SyncJob(ConnectionData* connection, QString since = {}, QString filter = {}, + int timeout = -1, QString presence = {}); virtual ~SyncJob(); SyncData& roomData(); |