summaryrefslogtreecommitdiffstats
path: root/dummyresource/resourcefactory.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-18 12:16:34 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-04-18 12:16:34 +0200
commita35acab8ecdadb5547c445a41ca2a67d978ed4a6 (patch)
tree64633dc0345ce82796da553dc28c25323f50aadd /dummyresource/resourcefactory.cpp
parente2857def8e67c3a95656f9d4737beba93a38c53a (diff)
downloadsink-a35acab8ecdadb5547c445a41ca2a67d978ed4a6.tar.gz
sink-a35acab8ecdadb5547c445a41ca2a67d978ed4a6.zip
Log messages
Diffstat (limited to 'dummyresource/resourcefactory.cpp')
-rw-r--r--dummyresource/resourcefactory.cpp4
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.