From 33bc7d7708e13e1148e4be28ef805a70b9db6ab4 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Fri, 22 Jan 2010 09:23:58 +0100 Subject: [PATCH] Disabled the code completion of QML components. --- src/plugins/qmljseditor/qmlcodecompletion.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/qmljseditor/qmlcodecompletion.cpp b/src/plugins/qmljseditor/qmlcodecompletion.cpp index 3f2fe817412..3eecc54431d 100644 --- a/src/plugins/qmljseditor/qmlcodecompletion.cpp +++ b/src/plugins/qmljseditor/qmlcodecompletion.cpp @@ -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. if (qmlDocument->qmlProgram() != 0) { const QIcon otherIcon = iconForColor(Qt::darkCyan); @@ -327,6 +328,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor) } } } +#endif if (previousChar.isNull() || previousChar.isSpace() -- GitLab