From 78284e0963d93e3e0f85e2165013412580a3b8c1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 14 Jan 2016 18:52:04 +0100 Subject: Got rid of all uses of Query::syncOnDemand and Query::processAll --- common/clientapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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 Store::synchronize(const Akonadi2::Query &query) Trace() << "Synchronizing " << resource; auto resourceAccess = QSharedPointer::create(resource); resourceAccess->open(); - resourceAccess->synchronizeResource(query.syncOnDemand, query.processAll).then([&future, resourceAccess]() { + resourceAccess->synchronizeResource(true, false).then([&future, resourceAccess]() { future.setFinished(); }).exec(); }) -- cgit v1.2.3