Skip to content
Snippets Groups Projects
Commit 33bc7d77 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Disabled the code completion of QML components.

parent 56aac18b
No related branches found
No related tags found
No related merge requests found
...@@ -281,6 +281,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor) ...@@ -281,6 +281,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
} }
} }
#if 0
// FIXME: this completion strategy is not going to work when the document was never parsed correctly. // FIXME: this completion strategy is not going to work when the document was never parsed correctly.
if (qmlDocument->qmlProgram() != 0) { if (qmlDocument->qmlProgram() != 0) {
const QIcon otherIcon = iconForColor(Qt::darkCyan); const QIcon otherIcon = iconForColor(Qt::darkCyan);
...@@ -327,6 +328,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor) ...@@ -327,6 +328,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
} }
} }
} }
#endif
if (previousChar.isNull() if (previousChar.isNull()
|| previousChar.isSpace() || previousChar.isSpace()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment