summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-29 11:27:04 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-29 11:27:04 +0100
commit6a072b2dcf23cbcdb210f2bd5c273ea0f425b188 (patch)
treecc2789c59e04018743aa0d575ee51a6f10869ffc /common/genericresource.cpp
parent81b459c0f013704e95fb5933525c82a6ca46f13f (diff)
downloadsink-6a072b2dcf23cbcdb210f2bd5c273ea0f425b188.tar.gz
sink-6a072b2dcf23cbcdb210f2bd5c273ea0f425b188.zip
The synchronization call can be sync.
... because we really just enqueue the request and then wait for the notification.
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp3
1 files changed, 2 insertions, 1 deletions
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)
100 100
101KAsync::Job<void> GenericResource::synchronizeWithSource(const Sink::QueryBase &query) 101KAsync::Job<void> GenericResource::synchronizeWithSource(const Sink::QueryBase &query)
102{ 102{
103 return mSynchronizer->synchronize(query); 103 mSynchronizer->synchronize(query);
104 return KAsync::null<void>();
104} 105}
105 106
106KAsync::Job<void> GenericResource::processAllMessages() 107KAsync::Job<void> GenericResource::processAllMessages()