diff options
Diffstat (limited to 'common/notifier.cpp')
-rw-r--r-- | common/notifier.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/notifier.cpp b/common/notifier.cpp index 9aa6c90..131fd7a 100644 --- a/common/notifier.cpp +++ b/common/notifier.cpp | |||
@@ -82,16 +82,10 @@ Notifier::Notifier(const Sink::Query &resourceQuery) : d(new Sink::Notifier::Pri | |||
82 | resourceAccess->open(); | 82 | resourceAccess->open(); |
83 | d->listenForNotifications(resourceAccess); | 83 | d->listenForNotifications(resourceAccess); |
84 | }); | 84 | }); |
85 | emitter->onModified([](const ApplicationDomain::SinkResource::Ptr &) { | ||
86 | }); | ||
87 | emitter->onRemoved([](const ApplicationDomain::SinkResource::Ptr &) { | ||
88 | }); | ||
89 | emitter->onInitialResultSetComplete([](const ApplicationDomain::SinkResource::Ptr &, bool) { | ||
90 | }); | ||
91 | emitter->onComplete([resourceCtx]() { | 85 | emitter->onComplete([resourceCtx]() { |
92 | SinkTraceCtx(resourceCtx) << "Resource query complete"; | 86 | SinkTraceCtx(resourceCtx) << "Resource query complete"; |
93 | }); | 87 | }); |
94 | emitter->fetch({}); | 88 | emitter->fetch(); |
95 | if (resourceQuery.liveQuery()) { | 89 | if (resourceQuery.liveQuery()) { |
96 | d->mResourceEmitter = emitter; | 90 | d->mResourceEmitter = emitter; |
97 | } | 91 | } |