Always remove the duplicates from the completion, even when the items are not sorted.

This commit is contained in:
Roberto Raggi
2010-05-28 12:51:12 +02:00
parent 2dc7a6a1eb
commit 1b41c06590
2 changed files with 23 additions and 31 deletions

View File

@@ -130,6 +130,8 @@ private:
const QString &expression,
int endOfExpression);
QList<TextEditor::CompletionItem> removeDuplicates(const QList<TextEditor::CompletionItem> &items);
private:
bool objcKeywordsWanted() const;