summaryrefslogtreecommitdiffstats
path: root/common/store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/store.cpp')
-rw-r--r--common/store.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/store.cpp b/common/store.cpp
index 1c8620b..727f4cc 100644
--- a/common/store.cpp
+++ b/common/store.cpp
@@ -281,14 +281,14 @@ static KAsync::Job<void> synchronize(const QByteArray &resource, const Sink::Syn
281 auto resourceAccess = ResourceAccessFactory::instance().getAccess(resource, ResourceConfig::getResourceType(resource)); 281 auto resourceAccess = ResourceAccessFactory::instance().getAccess(resource, ResourceConfig::getResourceType(resource));
282 return resourceAccess->synchronizeResource(scope) 282 return resourceAccess->synchronizeResource(scope)
283 .addToContext(resourceAccess) 283 .addToContext(resourceAccess)
284 .then<void>([](const KAsync::Error &error) { 284 .then([=](const KAsync::Error &error) {
285 if (error) { 285 if (error) {
286 SinkWarning() << "Error during sync."; 286 SinkWarning() << "Error during sync.";
287 return KAsync::error<void>(error); 287 return KAsync::error(error);
288 } 288 }
289 SinkTrace() << "synced."; 289 SinkTrace() << "Synchronization of resource " << resource << " complete.";
290 return KAsync::null<void>(); 290 return KAsync::null();
291 }); 291 });
292} 292}
293 293
294KAsync::Job<void> Store::synchronize(const Sink::Query &query) 294KAsync::Job<void> Store::synchronize(const Sink::Query &query)