aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlobjectcreator.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-24 18:24:42 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-03-24 19:05:05 +0100
commit581250ff9e7056b568aa199d17d140e3dbc32223 (patch)
tree7e1cb10de6f44920d4c23af3d3a6ec0f1d256e57 /src/qml/qml/qqmlobjectcreator.cpp
parent1a1028a1e4ca3d0d932141f265d01284e013a76a (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/qqmlobjectcreator.cpp')
-rw-r--r--src/qml/qml/qqmlobjectcreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp
index 8f209311fa..d43b351a50 100644
--- a/src/qml/qml/qqmlobjectcreator.cpp
+++ b/src/qml/qml/qqmlobjectcreator.cpp
@@ -1245,7 +1245,7 @@ QObject *QQmlObjectCreator::createInstance(int index, QObject *parent, bool isCo
return nullptr;
}
} else {
- int subObjectId = type.inlineComponendId();
+ int subObjectId = type.inlineComponentId();
QScopedValueRollback<int> rollback {typeRef->compilationUnit->icRoot, subObjectId};
QQmlObjectCreator subCreator(context, typeRef->compilationUnit, sharedState.data());
instance = subCreator.create(subObjectId, nullptr, nullptr, CreationFlags::InlineComponent);