Commit 7de43df6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: minor QString optimization

parent 829a64aa
......@@ -296,7 +296,7 @@ const QStringList KPIM::AddresseeLineEditPrivate::adjustedCompletionItems(bool f
lastSourceIndex = index;
}
(*it) = (*it).prepend(s_completionItemIndentString);
(*it).prepend(s_completionItemIndentString);
// remove preferred email sort <blank> added in addContact()
(*it).replace(QLatin1String(" <"), QStringLiteral(" <"));
}
......@@ -558,7 +558,7 @@ void AddresseeLineEditPrivate::doCompletion(bool ctrlT)
}
} else if (mSearchExtended) {
//our added \" does not work anymore, remove it
mSearchString = mSearchString.mid(1);
mSearchString.remove(0, 1);
mSearchExtended = false;
q->setText(mPreviousAddresses + mSearchString);
//now try again
......
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