Commit 3c9dbc83 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some clazy warning

parent 16af58a9
Pipeline #61724 passed with stage
in 7 minutes and 15 seconds
......@@ -49,8 +49,8 @@ void EvolutionSettings::loadAccount(const QString &filename)
for (QDomElement e = config.firstChildElement(); !e.isNull(); e = e.nextSiblingElement()) {
const QString tag = e.tagName();
if (tag == QLatin1String("entry")) {
if (e.hasAttribute(QLatin1String("name"))) {
const QString attr = e.attribute(QLatin1String("name"));
if (e.hasAttribute(QStringLiteral("name"))) {
const QString attr = e.attribute(QStringLiteral("name"));
if (attr == QLatin1String("accounts")) {
readAccount(e);
} else if (attr == QLatin1String("signatures")) {
......
......@@ -951,7 +951,7 @@ void ThunderbirdSettings::readIdentity(const QString &account)
newIdentity->setPgpAutoSign(signMail);
}
const QString composeHtmlStr(identity + QStringLiteral(".compose_html"));
// const QString composeHtmlStr(identity + QStringLiteral(".compose_html"));
// TODO: implement it in kmail
newIdentity->setSignature(signature);
......
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