diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-14 18:52:04 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-14 18:52:04 +0100 |
commit | 78284e0963d93e3e0f85e2165013412580a3b8c1 (patch) | |
tree | b4f0b5750c3f27ad107cc66358bd7b930b8399bc /common/clientapi.cpp | |
parent | 7de95983b30ca414c04bb3f877b67c1b7e9d6fa0 (diff) | |
download | sink-78284e0963d93e3e0f85e2165013412580a3b8c1.tar.gz sink-78284e0963d93e3e0f85e2165013412580a3b8c1.zip |
Got rid of all uses of Query::syncOnDemand and Query::processAll
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r-- | common/clientapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp index ffaa57b..5c0bcb8 100644 --- a/common/clientapi.cpp +++ b/common/clientapi.cpp | |||
@@ -204,7 +204,7 @@ KAsync::Job<void> Store::synchronize(const Akonadi2::Query &query) | |||
204 | Trace() << "Synchronizing " << resource; | 204 | Trace() << "Synchronizing " << resource; |
205 | auto resourceAccess = QSharedPointer<Akonadi2::ResourceAccess>::create(resource); | 205 | auto resourceAccess = QSharedPointer<Akonadi2::ResourceAccess>::create(resource); |
206 | resourceAccess->open(); | 206 | resourceAccess->open(); |
207 | resourceAccess->synchronizeResource(query.syncOnDemand, query.processAll).then<void>([&future, resourceAccess]() { | 207 | resourceAccess->synchronizeResource(true, false).then<void>([&future, resourceAccess]() { |
208 | future.setFinished(); | 208 | future.setFinished(); |
209 | }).exec(); | 209 | }).exec(); |
210 | }) | 210 | }) |