diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-09 18:51:04 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-10 10:40:01 +0200 |
commit | 6f1d3437b3bdd3ccde1243ceddf19f0c0fb5afda (patch) | |
tree | 0c90df67eac827d5166158c1f7055d00cf39425d /common/entitystorage.h | |
parent | 4f1ec5deaf3205e4d71dcb0ff35a29cfbb2c8ec1 (diff) | |
download | sink-6f1d3437b3bdd3ccde1243ceddf19f0c0fb5afda.tar.gz sink-6f1d3437b3bdd3ccde1243ceddf19f0c0fb5afda.zip |
Modification and removal in results
Now we just need to ensure that equality is tested using the
ApplicationDomainType::identifier
Diffstat (limited to 'common/entitystorage.h')
-rw-r--r-- | common/entitystorage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/entitystorage.h b/common/entitystorage.h index 78dbcda..6b09cad 100644 --- a/common/entitystorage.h +++ b/common/entitystorage.h | |||
@@ -118,10 +118,11 @@ public: | |||
118 | break; | 118 | break; |
119 | case Akonadi2::Operation_Modification: | 119 | case Akonadi2::Operation_Modification: |
120 | Trace() << "Got modification"; | 120 | Trace() << "Got modification"; |
121 | resultProvider->add(copy(*value).template staticCast<DomainType>()); | 121 | resultProvider->modify(copy(*value).template staticCast<DomainType>()); |
122 | break; | 122 | break; |
123 | case Akonadi2::Operation_Removal: | 123 | case Akonadi2::Operation_Removal: |
124 | Trace() << "Got removal"; | 124 | Trace() << "Got removal"; |
125 | resultProvider->remove(copy(*value).template staticCast<DomainType>()); | ||
125 | break; | 126 | break; |
126 | } | 127 | } |
127 | return true; | 128 | return true; |