aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorKitsuneRal <Kitsune-Ral@users.sf.net>2016-10-17 07:25:30 +0900
committerGitHub <noreply@github.com>2016-10-17 07:25:30 +0900
commitb44ad3573d21c456014d7983669acc31dd6eebdf (patch)
tree9281918022181ec6eb3b28b0fe6dcbef572233e1 /connection.cpp
parent6536124821c1df791a69a58de21a71322d9363f6 (diff)
parentf2cfd4691d4830f57ebaea08b9aa9a4db3aad537 (diff)
downloadlibquotient-b44ad3573d21c456014d7983669acc31dd6eebdf.tar.gz
libquotient-b44ad3573d21c456014d7983669acc31dd6eebdf.zip
Merge pull request #43 from Fxrh/kitsune-request-params
Merged as amended.
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/connection.cpp b/connection.cpp
index ec251500..e0274fd7 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -189,9 +189,7 @@ void Connection::sync(int timeout)
SyncJob* Connection::Private::startSyncJob(const QString& filter, int timeout)
{
- syncJob = new SyncJob(data, data->lastEvent());
- syncJob->setFilter(filter);
- syncJob->setTimeout(timeout);
+ syncJob = new SyncJob(data, data->lastEvent(), filter, timeout);
syncJob->start();
return syncJob;