summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDheerendra Purohit <[email protected]>2025-07-07 12:01:51 +0530
committerDheerendra Purohit <[email protected]>2025-07-07 14:20:29 +0530
commit247a6b8f327345fcb5bb1f97e7b2f558fb6165c3 (patch)
treedb1b51ae39fc6f7d01781b90006a04f2dbdb9681
parent1f040ffe7bd14088a1202b2fba6a999c94b089e5 (diff)
Doc: Fix invalid properties in PieModelMapper QML snippetHEADdev
Updated the PieModelMapper QML snippet by removing the invalid firstRow and rowCount properties, and replacing them with valid ones. Pick-to: 6.10 6.9 Fixes: QTBUG-138257 Change-Id: I1628ea5b91cbe9f7c8618412c3e51a5d7408ad95 Reviewed-by: Tomi Korpipää <[email protected]>
-rw-r--r--src/graphs2d/piechart/qpiemodelmapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphs2d/piechart/qpiemodelmapper.cpp b/src/graphs2d/piechart/qpiemodelmapper.cpp
index 7cf507f2..db41ef60 100644
--- a/src/graphs2d/piechart/qpiemodelmapper.cpp
+++ b/src/graphs2d/piechart/qpiemodelmapper.cpp
@@ -44,8 +44,8 @@ QT_BEGIN_NAMESPACE
model: customModel
labelsSection: 1
valuesSection: 2
- firstRow: 1
- rowCount: 4
+ first: 1
+ count: 4
orientation: Qt.Vertical
}
\endcode