From fa08152bc48be296990d45d08ff3d8cf5521c5d8 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Wed, 22 Oct 2025 15:47:27 +0200 Subject: Doc: Use explicit links instead of auto-linking This ensures that QDoc will always link to the QML types page and not to the corresponding C++ classes overview. Change-Id: I60cd6475ecf87190101507e8508e5c9403a2ed90 Reviewed-by: Ulf Hermann Reviewed-by: Shawn Rutledge --- src/quickwidgets/qquickwidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/quickwidgets/qquickwidget.cpp') diff --git a/src/quickwidgets/qquickwidget.cpp b/src/quickwidgets/qquickwidget.cpp index 88a18bff01..42bec16d78 100644 --- a/src/quickwidgets/qquickwidget.cpp +++ b/src/quickwidgets/qquickwidget.cpp @@ -1464,9 +1464,10 @@ QSize QQuickWidget::initialSize() const } /*! - Returns the view's root \l {QQuickItem} {item}. Can be null + Returns the view's root \l {QQuickItem} {item}. Can be \nullptr when setSource() has not been called, if it was called with - broken QtQuick code or while the QtQuick contents are being created. + broken \l[QML]{QtQuick} code or if the root item is otherwise + undefined. */ QQuickItem *QQuickWidget::rootObject() const { -- cgit v1.2.3