diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-03-18 14:53:05 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-03-18 16:59:20 +0100 |
commit | 3a5f37d5b9e206eb96b85dec7c6948f1faa5b253 (patch) | |
tree | dc891059c298e9e5f3da34d48b1a266ccdfaee89 /src/qml/doc | |
parent | 186405955f1057111379369fc43951513c461aa9 (diff) |
QML_CONSTRUCTIBLE_VALUE: Fix docs
QML rsepects visibility when calling methods, so the constructor needs
to be public.
Fixes: QTBUG-123421
Pick-to: 6.7
Change-Id: I02d102c169f8791c328333d71975e69f9863fa9a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc')
-rw-r--r-- | src/qml/doc/src/qmlfunctions.qdoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc index 84602345fb..ecb13f160d 100644 --- a/src/qml/doc/src/qmlfunctions.qdoc +++ b/src/qml/doc/src/qmlfunctions.qdoc @@ -1499,6 +1499,7 @@ Q_GADGET QML_VALUE_TYPE(myValueType) QML_CONSTRUCTIBLE_VALUE + public: Q_INVOKABLE MyValueType(double d); // ... |