diff options
Diffstat (limited to 'examples/dummyresource')
-rw-r--r-- | examples/dummyresource/resourcefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index a7d30c5..e915710 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -115,7 +115,7 @@ class DummySynchronizer : public Sink::Synchronizer { | |||
115 | n.message = "We're connected"; | 115 | n.message = "We're connected"; |
116 | n.code = Sink::ApplicationDomain::ConnectedStatus; | 116 | n.code = Sink::ApplicationDomain::ConnectedStatus; |
117 | emit notify(n); | 117 | emit notify(n); |
118 | return KAsync::syncStart<void>([this]() { | 118 | return KAsync::start([this]() { |
119 | synchronize(ENTITY_TYPE_EVENT, DummyStore::instance().events(), [this](const QByteArray &ridBuffer, const QMap<QString, QVariant> &data) { | 119 | synchronize(ENTITY_TYPE_EVENT, DummyStore::instance().events(), [this](const QByteArray &ridBuffer, const QMap<QString, QVariant> &data) { |
120 | return createEvent(ridBuffer, data); | 120 | return createEvent(ridBuffer, data); |
121 | }); | 121 | }); |