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

Port to for(...:...)

parent b2bb23dc
......@@ -453,10 +453,10 @@ public:
selectMessage
= i18n("<qt>Several of your identities match the receiver of this message,<br/>"
"please choose which of the following addresses is yours:</qt>");
foreach (const KMime::Types::Mailbox &mbx, addrs) {
for (const KMime::Types::Mailbox &mbx : qAsConst(addrs)) {
possibleAddrs.append(QLatin1String(mbx.address()));
}
foreach (const KMime::Types::Mailbox &mbx, ccaddrs) {
for (const KMime::Types::Mailbox &mbx : qAsConst(ccaddrs)) {
possibleAddrs.append(QLatin1String(mbx.address()));
}
}
......
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