Skip to content
Snippets Groups Projects
Commit a2824be2 authored by Christian Kamm's avatar Christian Kamm
Browse files

QmlJS: Fix false-positive errors reported for ListElement, Connections.

Task-number: QTCREATORBUG-2802
Reviewed-by: Roberto Raggi
parent 213f2930
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,8 @@ void ScopeBuilder::setQmlScopeObject(Node *node)
if (const QmlObjectValue *qmlMetaObject = dynamic_cast<const QmlObjectValue *>(prototype)) {
if ((qmlMetaObject->className() == QLatin1String("ListElement")
|| qmlMetaObject->className() == QLatin1String("Connections")
) && qmlMetaObject->packageName() == QLatin1String("Qt")) {
) && (qmlMetaObject->packageName() == QLatin1String("Qt")
|| qmlMetaObject->packageName() == QLatin1String("QtQuick"))) {
scopeChain.qmlScopeObjects.clear();
break;
}
......
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