summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-03-23 11:18:45 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-23 22:40:25 +0000
commit37a4a9c1b6207b63c595c748d2ddb9b7522e0485 (patch)
treeadbe9aeeb15b0a8471558789bbb91147c25c16b1
parent28675cdd4389db1fecf37a7afb8be3e7babd530b (diff)
QQmlContext: Mark importedScript() as internal
Change-Id: Ief7dbd8a2ab870dccdc62f99573987329f91dfb1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit e1d178c3df130ba44259cf7a867f7f07552a974e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/qml/qqmlcontext.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlcontext.cpp b/src/qml/qml/qqmlcontext.cpp
index 797ab34937..e884b28532 100644
--- a/src/qml/qml/qqmlcontext.cpp
+++ b/src/qml/qml/qqmlcontext.cpp
@@ -441,6 +441,9 @@ QUrl QQmlContext::baseUrl() const
return d->m_data->baseUrl();
}
+/*!
+ * \internal
+ */
QJSValue QQmlContext::importedScript(const QString &name) const
{
Q_D(const QQmlContext);