diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/itemviews/chart/pieview.cpp | 2 | ||||
-rw-r--r-- | examples/itemviews/chart/pieview.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/itemviews/chart/pieview.cpp b/examples/itemviews/chart/pieview.cpp index 7305181b44..30f3255689 100644 --- a/examples/itemviews/chart/pieview.cpp +++ b/examples/itemviews/chart/pieview.cpp @@ -63,7 +63,7 @@ PieView::PieView(QWidget *parent) void PieView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, - const QSet<int> &) + const QVector<int> &) { QAbstractItemView::dataChanged(topLeft, bottomRight); diff --git a/examples/itemviews/chart/pieview.h b/examples/itemviews/chart/pieview.h index 7ee48565e8..208159bf73 100644 --- a/examples/itemviews/chart/pieview.h +++ b/examples/itemviews/chart/pieview.h @@ -68,7 +68,7 @@ public: QModelIndex indexAt(const QPoint &point) const; protected slots: - void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QSet<int> &); + void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> & = QVector<int>()); void rowsInserted(const QModelIndex &parent, int start, int end); void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); |