diff options
author | Giuseppe D'Angelo <dangelog@gmail.com> | 2012-02-02 17:40:27 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-03 01:15:52 +0100 |
commit | f0cac3f42fb661a6927a701a2c9b1e3d22e0d6fc (patch) | |
tree | 6b3f98c85e2ab32a132b84b1471c58abcfa6614e /examples/itemviews/chart/pieview.cpp | |
parent | 4b64e38ddc92e88a837cd74a7311514f5a1098ad (diff) |
Fix the chart itemview example
Commit 054a4aa7dddacbe31778c5c5e9ffc9d41f803353 (being a SIC)
breaks QAbstractItemViews that used to override the
dataChanged(QModelIndex, QModelIndex) method, so this change
updates the dataChanged signature accordingly.
Change-Id: I632b6625c12dcb09abcb737ea2648efeeedeee8e
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'examples/itemviews/chart/pieview.cpp')
-rw-r--r-- | examples/itemviews/chart/pieview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/itemviews/chart/pieview.cpp b/examples/itemviews/chart/pieview.cpp index 6d82f2a477..dcf3aca3fb 100644 --- a/examples/itemviews/chart/pieview.cpp +++ b/examples/itemviews/chart/pieview.cpp @@ -62,7 +62,8 @@ PieView::PieView(QWidget *parent) } void PieView::dataChanged(const QModelIndex &topLeft, - const QModelIndex &bottomRight) + const QModelIndex &bottomRight, + const QSet<int> &) { QAbstractItemView::dataChanged(topLeft, bottomRight); |