diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-29 11:27:04 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-29 11:27:04 +0100 |
commit | 6a072b2dcf23cbcdb210f2bd5c273ea0f425b188 (patch) | |
tree | cc2789c59e04018743aa0d575ee51a6f10869ffc /common/genericresource.cpp | |
parent | 81b459c0f013704e95fb5933525c82a6ca46f13f (diff) | |
download | sink-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.cpp | 3 |
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 | ||
101 | KAsync::Job<void> GenericResource::synchronizeWithSource(const Sink::QueryBase &query) | 101 | KAsync::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 | ||
106 | KAsync::Job<void> GenericResource::processAllMessages() | 107 | KAsync::Job<void> GenericResource::processAllMessages() |