diff options
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; |