diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-25 19:18:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-25 19:42:27 +0200 |
commit | 0f6f34ca2fca81734544b32e8dbc8ee32122bb65 (patch) | |
tree | 79bb05d19d6d7f3ec4966b2913b7628d3ad8de0f /common/resourcefacade.cpp | |
parent | 7f0f45c544b3a48feec3226faa8bb3018d542d9c (diff) | |
download | sink-0f6f34ca2fca81734544b32e8dbc8ee32122bb65.tar.gz sink-0f6f34ca2fca81734544b32e8dbc8ee32122bb65.zip |
Fixed more warnings and then disabled them
..because there is a boatload more to fix.
Diffstat (limited to 'common/resourcefacade.cpp')
-rw-r--r-- | common/resourcefacade.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/resourcefacade.cpp b/common/resourcefacade.cpp index 3dba3e5..7998692 100644 --- a/common/resourcefacade.cpp +++ b/common/resourcefacade.cpp | |||
@@ -110,7 +110,7 @@ LocalStorageQueryRunner<DomainType>::LocalStorageQueryRunner(const Query &query, | |||
110 | }; | 110 | }; |
111 | 111 | ||
112 | QObject *guard = new QObject; | 112 | QObject *guard = new QObject; |
113 | mResultProvider->setFetcher([this, query, guard, &configNotifier, matchesTypeAndIds]() { | 113 | mResultProvider->setFetcher([this, query, matchesTypeAndIds]() { |
114 | const auto entries = mConfigStore.getEntries(); | 114 | const auto entries = mConfigStore.getEntries(); |
115 | for (const auto &res : entries.keys()) { | 115 | for (const auto &res : entries.keys()) { |
116 | const auto type = entries.value(res); | 116 | const auto type = entries.value(res); |
@@ -371,7 +371,7 @@ QPair<KAsync::Job<void>, typename Sink::ResultEmitter<typename ApplicationDomain | |||
371 | monitoredResources->insert(resource.identifier()); | 371 | monitoredResources->insert(resource.identifier()); |
372 | } | 372 | } |
373 | }; | 373 | }; |
374 | runner->setStatusUpdater([this, runner, monitoredResources, ctx, monitorResource](ApplicationDomain::SinkAccount &account) { | 374 | runner->setStatusUpdater([runner, monitoredResources, ctx, monitorResource](ApplicationDomain::SinkAccount &account) { |
375 | Query query{Query::LiveQuery}; | 375 | Query query{Query::LiveQuery}; |
376 | query.filter<ApplicationDomain::SinkResource::Account>(account.identifier()); | 376 | query.filter<ApplicationDomain::SinkResource::Account>(account.identifier()); |
377 | query.request<ApplicationDomain::SinkResource::Account>() | 377 | query.request<ApplicationDomain::SinkResource::Account>() |