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

Other optimization

parent d858a9f8
......@@ -105,8 +105,8 @@ QString TransactionState::errorMessage() const
if (haveRejectedRecipients()) {
QStringList recip;
recip.reserve(mRejectedRecipients.count());
for (RejectedRecipientList::const_iterator it = mRejectedRecipients.begin();
it != mRejectedRecipients.end(); ++it) {
for (RejectedRecipientList::const_iterator it = mRejectedRecipients.begin(), end(mRejectedRecipients.end());
it != end; ++it) {
recip.push_back((*it).recipient + QLatin1String(" (") + (*it).reason + QLatin1Char(')'));
}
return i18n("Message sending failed since the following recipients were rejected by the server:\n"
......
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