diff options
Diffstat (limited to 'dummyresource/resourcefactory.cpp')
-rw-r--r-- | dummyresource/resourcefactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dummyresource/resourcefactory.cpp b/dummyresource/resourcefactory.cpp index 8f0a2bd..679bba2 100644 --- a/dummyresource/resourcefactory.cpp +++ b/dummyresource/resourcefactory.cpp | |||
@@ -151,7 +151,7 @@ private slots: | |||
151 | 151 | ||
152 | Async::Job<void> processQueuedCommand(const Akonadi2::QueuedCommand *queuedCommand) | 152 | Async::Job<void> processQueuedCommand(const Akonadi2::QueuedCommand *queuedCommand) |
153 | { | 153 | { |
154 | Log() << "Processing command: " << queuedCommand->commandId(); | 154 | Log() << "Processing command: " << Akonadi2::Commands::name(queuedCommand->commandId()); |
155 | //Throw command into appropriate pipeline | 155 | //Throw command into appropriate pipeline |
156 | switch (queuedCommand->commandId()) { | 156 | switch (queuedCommand->commandId()) { |
157 | case Akonadi2::Commands::DeleteEntityCommand: | 157 | case Akonadi2::Commands::DeleteEntityCommand: |
@@ -191,7 +191,7 @@ private slots: | |||
191 | return; | 191 | return; |
192 | } | 192 | } |
193 | auto queuedCommand = Akonadi2::GetQueuedCommand(ptr); | 193 | auto queuedCommand = Akonadi2::GetQueuedCommand(ptr); |
194 | Trace() << "Dequeued: " << queuedCommand->commandId(); | 194 | Trace() << "Dequeued Command: " << Akonadi2::Commands::name(queuedCommand->commandId()); |
195 | //TODO JOBAPI: job lifetime management | 195 | //TODO JOBAPI: job lifetime management |
196 | //Right now we're just leaking jobs. In this case we'd like jobs that are heap allocated and delete | 196 | //Right now we're just leaking jobs. In this case we'd like jobs that are heap allocated and delete |
197 | //themselves once done. In other cases we'd like jobs that only live as long as their handle though. | 197 | //themselves once done. In other cases we'd like jobs that only live as long as their handle though. |