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

USe qAsConst

parent 646c92d3
......@@ -462,7 +462,7 @@ QString GrantleeContactFormatter::toHtml(HtmlForm form) const
}
if (!customs.empty()) {
foreach (QString custom, customs) { //krazy:exclude=foreach
for (QString custom : qAsConst(customs)) { //krazy:exclude=foreach
if (custom.startsWith(QStringLiteral("KADDRESSBOOK-"))) {
custom.remove(QStringLiteral("KADDRESSBOOK-X-"));
custom.remove(QStringLiteral("KADDRESSBOOK-"));
......
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