summaryrefslogtreecommitdiffstats
path: root/common/domain/event.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-06-07 19:26:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-06-07 19:26:21 +0200
commit810543a625074fb8685c7c59e36123c055e8fda6 (patch)
tree3ea4d74e26d74d022398447a9ede000c3023b181 /common/domain/event.cpp
parent235a85211c769e190754d2fdb172069d68a889b9 (diff)
downloadsink-810543a625074fb8685c7c59e36123c055e8fda6.tar.gz
sink-810543a625074fb8685c7c59e36123c055e8fda6.zip
Use type-specific index implementations.
Diffstat (limited to 'common/domain/event.cpp')
-rw-r--r--common/domain/event.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/domain/event.cpp b/common/domain/event.cpp
index 776fa50..c435c6b 100644
--- a/common/domain/event.cpp
+++ b/common/domain/event.cpp
@@ -32,7 +32,7 @@
32 32
33using namespace Akonadi2::ApplicationDomain; 33using namespace Akonadi2::ApplicationDomain;
34 34
35ResultSet TypeImplementation<Event>::queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier) 35ResultSet TypeImplementation<Event>::queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier, QSet<QByteArray> &appliedFilters)
36{ 36{
37 QVector<QByteArray> keys; 37 QVector<QByteArray> keys;
38 if (query.propertyFilter.contains("uid")) { 38 if (query.propertyFilter.contains("uid")) {
@@ -43,6 +43,7 @@ ResultSet TypeImplementation<Event>::queryIndexes(const Akonadi2::Query &query,
43 [](const Index::Error &error) { 43 [](const Index::Error &error) {
44 Warning() << "Error in index: " << error.message; 44 Warning() << "Error in index: " << error.message;
45 }); 45 });
46 appliedFilters << "uid";
46 } 47 }
47 return ResultSet(keys); 48 return ResultSet(keys);
48} 49}