aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlworkerscript/doc')
-rw-r--r--src/qmlworkerscript/doc/qtqmlworkerscript.qdocconf2
-rw-r--r--src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qmlworkerscript/doc/qtqmlworkerscript.qdocconf b/src/qmlworkerscript/doc/qtqmlworkerscript.qdocconf
index ae8fd2b439..e9dab95f1e 100644
--- a/src/qmlworkerscript/doc/qtqmlworkerscript.qdocconf
+++ b/src/qmlworkerscript/doc/qtqmlworkerscript.qdocconf
@@ -29,5 +29,5 @@ exampledirs += snippets
navigation.qmltypespage = "Qt Qml WorkerScript QML Types"
-# Fail the documentation build if there are more warnings than the limit
+# Enforce zero documentation warnings
warninglimit = 0
diff --git a/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml b/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml
index 87e179cc1e..509c1f5bf0 100644
--- a/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml
+++ b/src/qmlworkerscript/doc/snippets/qml/workerscript/workerscript.qml
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
//![0]
-import QtQuick 2.0
+import QtQuick
Rectangle {
width: 300; height: 300