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

Other optimization

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