Commit 05ccc58a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent c2b99a84
......@@ -189,9 +189,7 @@ QString StandardContactFormatter::toHtml(HtmlForm form) const
counter++;
dynamicPart += rowFmtStr2
.arg(KContacts::Address::typeLabel(address.type()))
.arg(formattedAddress)
.arg(url);
.arg(KContacts::Address::typeLabel(address.type()), formattedAddress, url);
}
// Note
......
......@@ -76,8 +76,7 @@ QString StandardContactGroupFormatter::toHtml(HtmlForm form) const
"<td align=\"left\" width=\"70%\"><font size=\"+2\"><b>%2</b></font></td>" // name
"</tr>"
"</table>")
.arg(QStringLiteral("group_photo"))
.arg(group.name());
.arg(QStringLiteral("group_photo"), group.name());
strGroup += QLatin1String("<table width=\"100%\">");
......@@ -98,8 +97,7 @@ QString StandardContactGroupFormatter::toHtml(HtmlForm form) const
strGroup.append(QStringLiteral("<tr><td align=\"right\" width=\"50%\"><b><font color=\"grey\">%1</font></b></td>"
"<td valign=\"bottom\" align=\"left\" width=\"50%\"><font>&lt;%2&gt;</font></td></tr>")
.arg(contact.realName())
.arg(fullEmail));
.arg(contact.realName(), fullEmail));
}
}
......
......@@ -61,7 +61,7 @@ void MainWidget::showSelection()
mInfo->append(QStringLiteral("Current selection:\n"));
for (const Akonadi::EmailAddressSelection &selection : mAddressesWidget->selectedAddresses()) {
mInfo->append(QStringLiteral("%1: %2\n").arg(selection.name()).arg(selection.email()));
mInfo->append(QStringLiteral("%1: %2\n").arg(selection.name(), selection.email()));
}
}
......
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