Commit 210cc2a1 authored by Laurent Montel's avatar Laurent Montel 😁

toLower is not necessary indeed.

Thanks David
parent 60c71d1f
......@@ -64,7 +64,7 @@ bool PotentialPhishingEmailJob::start()
tname = tname.mid(1,tname.length()-2);
}
if (temail.toLower() != tname.toLower()) {
const QString str = QString::fromLatin1("(%1)").arg(temail.toLower());
const QString str = QString::fromLatin1("(%1)").arg(temail);
if (!tname.contains(str, Qt::CaseInsensitive)) {
mPotentialPhisingEmails.append(addr);
}
......
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