diff options
Diffstat (limited to 'examples/quick/tutorials/extending/chapter5-listproperties/piechart.cpp')
-rw-r--r-- | examples/quick/tutorials/extending/chapter5-listproperties/piechart.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/tutorials/extending/chapter5-listproperties/piechart.cpp b/examples/quick/tutorials/extending/chapter5-listproperties/piechart.cpp index 2cfbe4de1b..9fb61d9cd8 100644 --- a/examples/quick/tutorials/extending/chapter5-listproperties/piechart.cpp +++ b/examples/quick/tutorials/extending/chapter5-listproperties/piechart.cpp @@ -58,7 +58,7 @@ void PieChart::setName(const QString &name) //![0] QQmlListProperty<PieSlice> PieChart::slices() { - return QQmlListProperty<PieSlice>(this, 0, &PieChart::append_slice); + return QQmlListProperty<PieSlice>(this, 0, &PieChart::append_slice, 0, 0, 0); } void PieChart::append_slice(QQmlListProperty<PieSlice> *list, PieSlice *slice) |