From 6a072b2dcf23cbcdb210f2bd5c273ea0f425b188 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 29 Nov 2016 11:27:04 +0100 Subject: The synchronization call can be sync. ... because we really just enqueue the request and then wait for the notification. --- common/genericresource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/genericresource.cpp') diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 5819a07..c11e899 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp @@ -100,7 +100,8 @@ void GenericResource::processCommand(int commandId, const QByteArray &data) KAsync::Job GenericResource::synchronizeWithSource(const Sink::QueryBase &query) { - return mSynchronizer->synchronize(query); + mSynchronizer->synchronize(query); + return KAsync::null(); } KAsync::Job GenericResource::processAllMessages() -- cgit v1.2.3