diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-12-28 12:05:34 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-02 13:31:14 +0100 |
commit | 625190d311adfcf3f0436cfece82249a92489348 (patch) | |
tree | 1010950e14b57560ae90abe20a5657750ad27137 /common/notifier.cpp | |
parent | 11b790ba6f06141db802273628ce2d191982677e (diff) | |
download | sink-625190d311adfcf3f0436cfece82249a92489348.tar.gz sink-625190d311adfcf3f0436cfece82249a92489348.zip |
No parent query
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 | } |