diff options
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r-- | common/genericresource.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 139ae98..a500aed 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp | |||
@@ -9,7 +9,6 @@ | |||
9 | #include "clientapi.h" | 9 | #include "clientapi.h" |
10 | #include "index.h" | 10 | #include "index.h" |
11 | #include "log.h" | 11 | #include "log.h" |
12 | #include <assert.h> | ||
13 | 12 | ||
14 | using namespace Akonadi2; | 13 | using namespace Akonadi2; |
15 | 14 | ||
@@ -67,11 +66,9 @@ private slots: | |||
67 | //Throw command into appropriate pipeline | 66 | //Throw command into appropriate pipeline |
68 | switch (queuedCommand->commandId()) { | 67 | switch (queuedCommand->commandId()) { |
69 | case Akonadi2::Commands::DeleteEntityCommand: | 68 | case Akonadi2::Commands::DeleteEntityCommand: |
70 | //mPipeline->removedEntity | 69 | return mPipeline->deletedEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); |
71 | return KAsync::null<void>(); | ||
72 | case Akonadi2::Commands::ModifyEntityCommand: | 70 | case Akonadi2::Commands::ModifyEntityCommand: |
73 | //mPipeline->modifiedEntity | 71 | return mPipeline->modifiedEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); |
74 | return KAsync::null<void>(); | ||
75 | case Akonadi2::Commands::CreateEntityCommand: | 72 | case Akonadi2::Commands::CreateEntityCommand: |
76 | return mPipeline->newEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); | 73 | return mPipeline->newEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); |
77 | default: | 74 | default: |