aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltype.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/qqmltype.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/qqmltype.cpp')
-rw-r--r--src/qml/qml/qqmltype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmltype.cpp b/src/qml/qml/qqmltype.cpp
index 5eb77b617d..586b078248 100644
--- a/src/qml/qml/qqmltype.cpp
+++ b/src/qml/qml/qqmltype.cpp
@@ -698,7 +698,7 @@ bool QQmlType::isInlineComponentType() const {
return d ? d->regType == QQmlType::InlineComponentType : false;
}
-int QQmlType::inlineComponendId() const {
+int QQmlType::inlineComponentId() const {
bool ok = false;
if (d->regType == QQmlType::RegistrationType::InlineComponentType) {
Q_ASSERT(d->extraData.id->objectId != -1);
@@ -713,7 +713,7 @@ QUrl QQmlType::sourceUrl() const
auto url = d ? d->sourceUrl() : QUrl();
if (url.isValid() && d->regType == QQmlType::RegistrationType::InlineComponentType && d->extraData.id->objectId) {
Q_ASSERT(url.hasFragment());
- url.setFragment(QString::number(inlineComponendId()));
+ url.setFragment(QString::number(inlineComponentId()));
}
return url;
}