diff options
Diffstat (limited to 'src/qml/compiler')
-rw-r--r-- | src/qml/compiler/qqmlirbuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qqmlirbuilder.cpp b/src/qml/compiler/qqmlirbuilder.cpp index a4cb3f2535..6eb8584f38 100644 --- a/src/qml/compiler/qqmlirbuilder.cpp +++ b/src/qml/compiler/qqmlirbuilder.cpp @@ -586,7 +586,7 @@ bool IRBuilder::visit(QQmlJS::AST::UiInlineComponent *ast) Q_ASSERT(idx > 0); Object* definedObject = _objects.at(idx); definedObject->flags |= QV4::CompiledData::Object::IsInlineComponentRoot; - definedObject->flags |= QV4::CompiledData::Object::InPartOfInlineComponent; + definedObject->flags |= QV4::CompiledData::Object::IsPartOfInlineComponent; auto inlineComponent = New<InlineComponent>(); inlineComponent->nameIndex = registerString(ast->name.toString()); inlineComponent->objectIndex = idx; @@ -705,7 +705,7 @@ bool IRBuilder::defineQMLObject( _object->init(pool, registerString(asString(qualifiedTypeNameId)), emptyStringIndex, location); _object->declarationsOverride = declarationsOverride; if (insideInlineComponent) { - _object->flags |= QV4::CompiledData::Object::InPartOfInlineComponent; + _object->flags |= QV4::CompiledData::Object::IsPartOfInlineComponent; } // A new object is also a boundary for property declarations. |