aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorRoman Plášil <me@rplasil.name>2017-09-04 10:35:45 +0800
committerRoman Plášil <me@rplasil.name>2017-09-04 10:35:45 +0800
commit56d34ecab5eb35c426a6e64b034bf2507761dd09 (patch)
tree0ae916e317c5adbfaf28db0d648f8aa8161f7547 /connection.cpp
parenta7ee0dfacc2c571572240191b3cf0846a9e32998 (diff)
downloadlibquotient-56d34ecab5eb35c426a6e64b034bf2507761dd09.tar.gz
libquotient-56d34ecab5eb35c426a6e64b034bf2507761dd09.zip
Use SyncJob::SyncData as a plain member
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index d2acf928..9fc2f85b 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -160,7 +160,7 @@ void Connection::sync(int timeout)
auto job = d->syncJob =
callApi<SyncJob>(d->data->lastEvent(), filter, timeout);
connect( job, &SyncJob::success, [=] () {
- onSyncSuccess(*job->data());
+ onSyncSuccess(job->data());
d->syncJob = nullptr;
emit syncDone();
});