aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2025-09-15 13:19:27 +0200
committerSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2025-09-18 01:52:26 +0200
commit88ee904cc7877d6c3695df51b0ddbee374256f8c (patch)
tree0d5aa9edc55d5d4b5e127a5efac3f71ba6bdabdb
parent302a13fd782cb57969fc7ebd3ce642381f465105 (diff)
Docs: Correct the type of the ValueFilter::value property
The type of ValueFilter::value property been used with a variant type, but the documentation incorrectly mentions it as string type. This patch updates the correct type of this property. Fixes: QTBUG-140143 Pick-to: 6.10 Change-Id: I15141d256657f33e9e6c06cc3819f300bb9ab11c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/qmlmodels/sfpm/filters/qqmlvaluefilter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qmlmodels/sfpm/filters/qqmlvaluefilter.cpp b/src/qmlmodels/sfpm/filters/qqmlvaluefilter.cpp
index 3d373fed9a..7d8aba3d15 100644
--- a/src/qmlmodels/sfpm/filters/qqmlvaluefilter.cpp
+++ b/src/qmlmodels/sfpm/filters/qqmlvaluefilter.cpp
@@ -45,11 +45,9 @@ QQmlValueFilter::QQmlValueFilter(QObject *parent) :
}
/*!
- \qmlproperty string ValueFilter::value
+ \qmlproperty variant ValueFilter::value
- This property holds specific value that can be used to filter the data.
-
- The default value is empty string.
+ This property holds the specific value that can be used to filter the data.
*/
const QVariant& QQmlValueFilter::value() const
{