diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-26 13:56:57 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-30 13:42:35 +0200 |
commit | f498df5689f2a34ee2b8a65c673727703313b129 (patch) | |
tree | c65f3cf003d644c03be4a2d2c0fa6b67642f1620 /src/qml/qml/qqmltype_p_p.h | |
parent | 79f811dd09a1ecf31b8649eaf0fe3ef940bcf403 (diff) |
QtQml: Eliminate inlineComponentName
It's always the same as elementName, and the lack of a containing type
can be detected by asking for the containing type.
Change-Id: I57e8ac89913563c3bd0c7c5824faa22bf34bb3c4
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qml/qml/qqmltype_p_p.h')
-rw-r--r-- | src/qml/qml/qqmltype_p_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/qml/qqmltype_p_p.h b/src/qml/qml/qqmltype_p_p.h index d5ef381299..bafaf47b20 100644 --- a/src/qml/qml/qqmltype_p_p.h +++ b/src/qml/qml/qqmltype_p_p.h @@ -110,13 +110,12 @@ public: struct QQmlInlineTypeData { - QUrl url = QUrl(); + QUrl url; // The containing type stores a pointer to the inline component type // Using QQmlType here would create a reference cycle // As the inline component type cannot outlive the containing type // this should still be fine QQmlTypePrivate const * containingType = nullptr; - QString inlineComponentName = QString(); }; using QQmlSequenceTypeData = QMetaSequence; |