Commit de0f37ab authored by Laurent Montel's avatar Laurent Montel 😁

Use qCCritical

parent fad17b86
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment