diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-06-07 19:26:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-06-07 19:26:21 +0200 |
commit | 810543a625074fb8685c7c59e36123c055e8fda6 (patch) | |
tree | 3ea4d74e26d74d022398447a9ede000c3023b181 /common/domain/event.cpp | |
parent | 235a85211c769e190754d2fdb172069d68a889b9 (diff) | |
download | sink-810543a625074fb8685c7c59e36123c055e8fda6.tar.gz sink-810543a625074fb8685c7c59e36123c055e8fda6.zip |
Use type-specific index implementations.
Diffstat (limited to 'common/domain/event.cpp')
-rw-r--r-- | common/domain/event.cpp | 3 |
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 | ||
33 | using namespace Akonadi2::ApplicationDomain; | 33 | using namespace Akonadi2::ApplicationDomain; |
34 | 34 | ||
35 | ResultSet TypeImplementation<Event>::queryIndexes(const Akonadi2::Query &query, const QByteArray &resourceInstanceIdentifier) | 35 | ResultSet 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 | } |