diff options
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index ae28485..bba6609 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -48,9 +48,11 @@ void Resource::processCommand(int commandId, const QByteArray &data, uint size, | |||
48 | pipeline->null(); | 48 | pipeline->null(); |
49 | } | 49 | } |
50 | 50 | ||
51 | void Resource::synchronizeWithSource(Pipeline *pipeline) | 51 | Async::Job<void> Resource::synchronizeWithSource(Pipeline *pipeline) |
52 | { | 52 | { |
53 | pipeline->null(); | 53 | return Async::start<void>([pipeline](Async::Future<void> &f) { |
54 | pipeline->null(); | ||
55 | }); | ||
54 | } | 56 | } |
55 | 57 | ||
56 | class ResourceFactory::Private | 58 | class ResourceFactory::Private |