diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-15 14:10:56 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-15 14:10:56 +0200 |
commit | 2101028966186fb0a18acc8fe1d80d710445f00a (patch) | |
tree | 82edcb74aac37df91b12c7df272dffa51de06030 /common/entitystorage.cpp | |
parent | 35b28af1f449edb1bac0b0bda606c3c06b2fe102 (diff) | |
download | sink-2101028966186fb0a18acc8fe1d80d710445f00a.tar.gz sink-2101028966186fb0a18acc8fe1d80d710445f00a.zip |
Cleanup
Diffstat (limited to 'common/entitystorage.cpp')
-rw-r--r-- | common/entitystorage.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/entitystorage.cpp b/common/entitystorage.cpp index c77e408..63017dd 100644 --- a/common/entitystorage.cpp +++ b/common/entitystorage.cpp | |||
@@ -60,12 +60,6 @@ ResultSet EntityStorageBase::getResultSet(const Akonadi2::Query &query, Akonadi2 | |||
60 | } | 60 | } |
61 | 61 | ||
62 | auto filter = [remainingFilters, query, baseRevision](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &domainObject) -> bool { | 62 | auto filter = [remainingFilters, query, baseRevision](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &domainObject) -> bool { |
63 | // if (topRevision > 0) { | ||
64 | // Trace() << "filtering by revision " << domainObject->revision(); | ||
65 | // if (domainObject->revision() < baseRevision) { | ||
66 | // return false; | ||
67 | // } | ||
68 | // } | ||
69 | for (const auto &filterProperty : remainingFilters) { | 63 | for (const auto &filterProperty : remainingFilters) { |
70 | //TODO implement other comparison operators than equality | 64 | //TODO implement other comparison operators than equality |
71 | if (domainObject->getProperty(filterProperty) != query.propertyFilter.value(filterProperty)) { | 65 | if (domainObject->getProperty(filterProperty) != query.propertyFilter.value(filterProperty)) { |