summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-01-22 09:23:58 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2010-01-22 09:23:58 +0100
commit33bc7d7708e13e1148e4be28ef805a70b9db6ab4 (patch)
treeec3000dd8d6fcd34a999399129ab3a74f6f04939
parent56aac18bd804bab35e344ea9e896815766e1f45c (diff)
downloadqt-creator-33bc7d7708e13e1148e4be28ef805a70b9db6ab4.tar.gz
Disabled the code completion of QML components.
-rw-r--r--src/plugins/qmljseditor/qmlcodecompletion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmljseditor/qmlcodecompletion.cpp b/src/plugins/qmljseditor/qmlcodecompletion.cpp
index 3f2fe81741..3eecc54431 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()