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

const'ify

parent baedde79
......@@ -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)
......
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