diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-24 18:24:42 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-24 19:05:05 +0100 |
commit | 581250ff9e7056b568aa199d17d140e3dbc32223 (patch) | |
tree | 7e1cb10de6f44920d4c23af3d3a6ec0f1d256e57 /src/qml/qml/qqmltypedata.cpp | |
parent | 1a1028a1e4ca3d0d932141f265d01284e013a76a (diff) |
Fix typo: inlineComponendId -> inlineComponentId
Change-Id: Ic0c768fc2402d8674e06e84dfe4dc90d05407167
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypedata.cpp')
-rw-r--r-- | src/qml/qml/qqmltypedata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmltypedata.cpp b/src/qml/qml/qqmltypedata.cpp index 7b21edec37..943d483847 100644 --- a/src/qml/qml/qqmltypedata.cpp +++ b/src/qml/qml/qqmltypedata.cpp @@ -921,7 +921,7 @@ QQmlError QQmlTypeData::buildTypeResolutionCaches( objectId = qmlType.containingType().lookupInlineComponentIdByName(QString::fromUtf8(qmlType.typeName())); qmlType.setInlineComponentObjectId(objectId); } else { - objectId = resolvedType->type.inlineComponendId(); + objectId = resolvedType->type.inlineComponentId(); } Q_ASSERT(objectId != -1); ref->typePropertyCache = resolvedType->typeData->compilationUnit()->propertyCaches.at(objectId); @@ -934,7 +934,7 @@ QQmlError QQmlTypeData::buildTypeResolutionCaches( ref->type = qmlType; if (qmlType.isValid()) { // this is required for inline components in singletons - auto type = qmlType.lookupInlineComponentById(qmlType.inlineComponendId()).typeId(); + auto type = qmlType.lookupInlineComponentById(qmlType.inlineComponentId()).typeId(); auto typeID = type.isValid() ? type.id() : -1; auto exUnit = engine->obtainExecutableCompilationUnit(typeID); if (exUnit) { |