summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-05 08:06:14 +0100
committerMontel Laurent <[email protected]>2017-12-05 08:06:14 +0100
commitde0f37ab19811c3e3764b190196becb21060777b (patch)
treebc6a14d2dd6ba93ea5e8ea9ee075b5febbbcb433
parentfad17b86684320c611b13e3b32a25d64b24f10ec (diff)
Use qCCritical
-rw-r--r--agents/maildispatcher/storeresultjob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/agents/maildispatcher/storeresultjob.cpp b/agents/maildispatcher/storeresultjob.cpp
index 9654c37..d289fea 100644
--- a/agents/maildispatcher/storeresultjob.cpp
+++ b/agents/maildispatcher/storeresultjob.cpp
@@ -73,7 +73,7 @@ void StoreResultJob::fetchDone(KJob *job)
const ItemFetchJob *fetchJob = qobject_cast<ItemFetchJob *>(job);
Q_ASSERT(fetchJob);
if (fetchJob->items().count() != 1) {
- qCritical() << "Fetched" << fetchJob->items().count() << "items, expected 1.";
+ qCCritical(MAILDISPATCHER_LOG) << "Fetched" << fetchJob->items().count() << "items, expected 1.";
setError(Unknown);
setErrorText(i18n("Failed to fetch item."));
commit();