Commit 4c0f658c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused variable

parent 9887ea5c
......@@ -272,13 +272,12 @@ const QStringList KPIM::AddresseeLineEditPrivate::adjustedCompletionItems(bool f
// The algo for non-weighted mode is different.
int lastSourceIndex = -1;
unsigned int i = 0;
// Maps indices of the items list, which are section headers/source items,
// to a QStringList which are the items of that section/source.
QMap<int, QStringList> sections;
QStringList sortedItems;
for (QStringList::Iterator it = items.begin(); it != items.end(); ++it, ++i) {
for (QStringList::Iterator it = items.begin(); it != items.end(); ++it) {
AddresseeLineEditManager::CompletionItemsMap::const_iterator cit = AddresseeLineEditManager::self()->completionItemMap.constFind(*it);
if (cit == AddresseeLineEditManager::self()->completionItemMap.constEnd()) {
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