Disabled the code completion of QML components.

This commit is contained in:
Roberto Raggi
2010-01-22 09:23:58 +01:00
parent 56aac18bd8
commit 33bc7d7708

View File

@@ -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()