diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-04-11 14:13:00 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-04-11 19:37:20 +0200 |
commit | cfefda0e0047f0f76a3549e2d12accda54c9747d (patch) | |
tree | 8d2f983e74ce258ddfdb56fd2a7714f6da7b1617 /src/qml/compiler/qqmlirbuilder.cpp | |
parent | b9dcf12a463026d09b6bfa4ed213f62a480fb5f2 (diff) |
Fix typo and apply some cosmetics
Change-Id: If51b86e1741b7e9f0e7e4d5f593496bd28cec081
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
-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. |