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

QmlJS: Fix an instance of relying on the Qt package name.

Reviewed-by: Thomas Hartmann
parent a03e7572
No related branches found
No related tags found
No related merge requests found
......@@ -282,7 +282,8 @@ const ObjectValue *ScopeBuilder::isPropertyChangesObject(const Context *context,
while (prototype) {
if (const QmlObjectValue *qmlMetaObject = dynamic_cast<const QmlObjectValue *>(prototype)) {
if (qmlMetaObject->className() == QLatin1String("PropertyChanges")
&& qmlMetaObject->packageName() == QLatin1String("Qt"))
&& (qmlMetaObject->packageName() == QLatin1String("Qt")
|| qmlMetaObject->packageName() == QLatin1String("QtQuick")))
return prototype;
}
prototype = prototype->prototype(context);
......
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