summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-14 06:42:00 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-14 06:42:00 (GMT)
commit3aec6cd91a7bb28d73674bd56b90751a2f08fe21 (patch)
tree6e3ef8107fca1b341305cd8eb0eb35a1f58dd834
parent43f28af04b44930693a371d3a140f25cb08ae3f0 (diff)
Use variable
-rw-r--r--messagecomposer/src/recipient/recipientseditorsidewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagecomposer/src/recipient/recipientseditorsidewidget.cpp b/messagecomposer/src/recipient/recipientseditorsidewidget.cpp
index 643f8cf..149310c 100644
--- a/messagecomposer/src/recipient/recipientseditorsidewidget.cpp
+++ b/messagecomposer/src/recipient/recipientseditorsidewidget.cpp
@@ -125,7 +125,7 @@ void RecipientsEditorSideWidget::updateTotalToolTip()
Recipient::List recipients = mEditor->recipients();
Recipient::List::ConstIterator it;
Recipient::List::ConstIterator end(recipients.constEnd());
- for (it = recipients.constBegin(); it != recipients.constEnd(); ++it) {
+ for (it = recipients.constBegin(); it != end; ++it) {
QString emailLine = QLatin1String("&nbsp;&nbsp;") + (*it)->email().toHtmlEscaped() + QLatin1String("<br/>");
switch ((*it)->type()) {
case Recipient::To: