Commit 261a1340 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qCWarning

parent 3d62a104
Pipeline #73591 passed with stage
in 43 minutes and 47 seconds
......@@ -95,12 +95,12 @@ void AutocryptStorage::save()
if (!d->basePath.exists()) {
QDir parent = d->basePath;
if (!parent.cdUp()) {
qWarning(AUTOCRYPT_LOG) << parent.absolutePath() << "does not exist. Cancel saving Autocrypt storage.";
qCWarning(AUTOCRYPT_LOG) << parent.absolutePath() << "does not exist. Cancel saving Autocrypt storage.";
return;
}
if (!parent.mkdir(d->basePath.dirName())) {
qWarning(AUTOCRYPT_LOG) << "Cancel saving Autocrypt storage, because failed to create" << d->basePath.absolutePath();
qCWarning(AUTOCRYPT_LOG) << "Cancel saving Autocrypt storage, because failed to create" << d->basePath.absolutePath();
return;
}
}
......
......@@ -91,7 +91,7 @@ void DKIMWidgetInfo::updateInfo()
break;
case DKIMCheckSignatureJob::DKIMStatus::Valid:
if (mResult.sdid.isEmpty()) {
qWarning(MESSAGEVIEWER_DKIMCHECKER_LOG) << "mResult.sdid is empty. It's a bug";
qCWarning(MESSAGEVIEWER_DKIMCHECKER_LOG) << "mResult.sdid is empty. It's a bug";
}
mLabel->setText(i18n("DKIM: valid (signed by %1)", mResult.sdid));
pal.setColor(backgroundRole(), (mResult.warning != DKIMCheckSignatureJob::DKIMWarning::Any) ? mWarningColor : mOkColor);
......
Supports Markdown
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