Commit 30e1d007 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Revert "Clear the completion."

This reverts commit bb35b4d0.
parent bb35b4d0
......@@ -661,8 +661,6 @@ static QList<TextEditor::CompletionItem> sortCompletionItems(QList<TextEditor::C
int CppCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
{
m_completions.clear();
int index = startCompletionHelper(editor);
if (index != -1) {
m_sortedCompletions = QtConcurrent::run(sortCompletionItems, m_completions);
......
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