Commit 5a5ced93 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add enum

parent 6a9b6b0f
......@@ -215,6 +215,10 @@ void DKIMWidgetInfo::updateToolTip()
for (const DKIMCheckSignatureJob::DKIMCheckSignatureAuthenticationResult &result : qAsConst(mResult.listSignatureAuthenticationResult)) {
switch (result.status) {
case DKIMCheckSignatureJob::DKIMStatus::Unknown:
case DKIMCheckSignatureJob::DKIMStatus::Invalid:
case DKIMCheckSignatureJob::DKIMStatus::NeedToBeSigned:
break;
case DKIMCheckSignatureJob::DKIMStatus::EmailNotSigned:
switch(result.method) {
case DKIMCheckSignatureJob::AuthenticationMethod::Unknown: {
......@@ -258,9 +262,6 @@ void DKIMWidgetInfo::updateToolTip()
}
}
break;
default:
//TODO
;
}
}
if (mResult.listSignatureAuthenticationResult.isEmpty()) {
......
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