diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 16:13:47 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-27 16:13:47 +0200 |
commit | 529db49c496f4f668cec3f7c59d2d0ec78c50c9a (patch) | |
tree | b7622a54b4063f4dc735a8b4061525148377b6c9 /common/store.cpp | |
parent | 577c2c344079c1a87d3d93be5f957e5f2d935bff (diff) | |
download | sink-529db49c496f4f668cec3f7c59d2d0ec78c50c9a.tar.gz sink-529db49c496f4f668cec3f7c59d2d0ec78c50c9a.zip |
Don't hardcode the type property.
Diffstat (limited to 'common/store.cpp')
-rw-r--r-- | common/store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/store.cpp b/common/store.cpp index c01d220..f5a7774 100644 --- a/common/store.cpp +++ b/common/store.cpp | |||
@@ -360,7 +360,7 @@ QList<DomainType> Store::read(const Sink::Query &q) | |||
360 | }); | 360 | }); |
361 | for (const auto &resourceInstanceIdentifier : resources.keys()) { | 361 | for (const auto &resourceInstanceIdentifier : resources.keys()) { |
362 | const auto resourceType = resources.value(resourceInstanceIdentifier); | 362 | const auto resourceType = resources.value(resourceInstanceIdentifier); |
363 | SinkTrace() << "Looking for " << resourceType << resourceInstanceIdentifier; | 363 | SinkTrace() << "Querying resource: " << resourceType << resourceInstanceIdentifier; |
364 | auto facade = FacadeFactory::instance().getFacade<DomainType>(resourceType, resourceInstanceIdentifier); | 364 | auto facade = FacadeFactory::instance().getFacade<DomainType>(resourceType, resourceInstanceIdentifier); |
365 | if (facade) { | 365 | if (facade) { |
366 | SinkTrace() << "Trying to fetch from resource " << resourceInstanceIdentifier; | 366 | SinkTrace() << "Trying to fetch from resource " << resourceInstanceIdentifier; |