summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-07-19 13:14:21 +0200
committerMontel Laurent <[email protected]>2016-07-19 13:14:21 +0200
commitf258bfb77b0f4676feb31af12e28ff09b1d5fec0 (patch)
tree9b2c5c5bf51bae33f5ce6c2b82e245a5222dc293
parentbaedde79422b235e1f6ab48095579ea710c24924 (diff)
const'ify
-rw-r--r--kmail/editorsendcheckplugins/automaticaddcontacts/automaticaddcontactsjob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kmail/editorsendcheckplugins/automaticaddcontacts/automaticaddcontactsjob.cpp b/kmail/editorsendcheckplugins/automaticaddcontacts/automaticaddcontactsjob.cpp
index c89abfb..ec8993e 100644
--- a/kmail/editorsendcheckplugins/automaticaddcontacts/automaticaddcontactsjob.cpp
+++ b/kmail/editorsendcheckplugins/automaticaddcontacts/automaticaddcontactsjob.cpp
@@ -183,7 +183,7 @@ void AutomaticAddContactsJob::slotResourceCreationDone(KJob *job)
void AutomaticAddContactsJob::verifyContactExist()
{
- QString email = mEmails.at(mCurrentIndex);
+ const QString email = mEmails.at(mCurrentIndex);
QString tname, temail;
KEmailAddress::extractEmailAddressAndName(email, temail, tname);
if (temail.isEmpty()) {
@@ -202,7 +202,6 @@ void AutomaticAddContactsJob::verifyContactExist()
connect(searchJob, &KJob::result, this, &AutomaticAddContactsJob::slotSearchDone);
}
}
-
}
void AutomaticAddContactsJob::slotSearchDone(KJob *job)