From 611366f1baa7db20d38e21889eed6518a13fa9e9 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Wed, 20 Mar 2024 10:16:53 +0100 Subject: [PATCH] Doc: Fix QDoc syntax in bindable properties overview Drop the \c command when in front of \l commands as that doesn't work. Pick-to: 6.6 Change-Id: I0aa092461807e068e9c2368f5d6f04e77b56c910 Reviewed-by: Andreas Eliasson Reviewed-by: James DeLisle (cherry picked from commit c8fb376de50683c81cbf64b4422058d4dd2e9f07) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/doc/src/objectmodel/bindableproperties.qdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/doc/src/objectmodel/bindableproperties.qdoc b/src/corelib/doc/src/objectmodel/bindableproperties.qdoc index 70eb0cebed9..9b3ea6ae660 100644 --- a/src/corelib/doc/src/objectmodel/bindableproperties.qdoc +++ b/src/corelib/doc/src/objectmodel/bindableproperties.qdoc @@ -256,8 +256,8 @@ Q_PROPERTYs without \c BINDABLE can also be bound and be used in binding expressions, as long as they define a \c NOTIFY signal. You must wrap the property in a \l QBindable using the \c {QBindable(QObject* obj, const char* property)} constructor. Then, the - property can be bound using \c \l QBindable::setBinding() or used in a binding - expression via \c \l QBindable::value(). You must use \c QBindable::value() in binding + property can be bound using \l QBindable::setBinding() or used in a binding + expression via \l QBindable::value(). You must use \c QBindable::value() in binding expressions instead of the normal property \c READ function (or \c MEMBER) to enable dependency tracking if the property is not \c BINDABLE.