aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltype.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-24 19:02:47 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-03-25 10:11:03 +0100
commitd9eeab6e2c699761115d9acbca292c16762eb8f3 (patch)
tree8eb633a58dab1f69c50addc51ee05026fd80b644 /src/qml/qml/qqmltype.cpp
parent944edcf817f568669c318eb576272dff015f58f3 (diff)
Make QQmlType::inlineComponentObjectId() const
It does not modify anything. Change-Id: I88630ba60c6123fc6dbc78d7e74225c8d3d01345 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltype.cpp')
-rw-r--r--src/qml/qml/qqmltype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltype.cpp b/src/qml/qml/qqmltype.cpp
index 586b078248..b02df4a3e4 100644
--- a/src/qml/qml/qqmltype.cpp
+++ b/src/qml/qml/qqmltype.cpp
@@ -881,7 +881,7 @@ int QQmlType::scopedEnumValue(QQmlEnginePrivate *engine, const QStringRef &scope
return -1;
}
-int QQmlType::inlineComponentObjectId()
+int QQmlType::inlineComponentObjectId() const
{
if (!isInlineComponentType())
return -1;