@@ -607,6 +607,9 bool QBarSeriesPrivate::append(QList<QBarSet* > sets) | |||
|
607 | 607 | bool QBarSeriesPrivate::remove(QList<QBarSet* > sets) |
|
608 | 608 | { |
|
609 | 609 | Q_Q(QBarSeries); |
|
610 | if (sets.count() == 0) { | |
|
611 | return false; | |
|
612 | } | |
|
610 | 613 | foreach (QBarSet* set, sets) { |
|
611 | 614 | if ((set == 0) || (!m_barSets.contains(set))) { |
|
612 | 615 | // Fail if any of the sets is null or is not in series |
General Comments 0
You need to be logged in to leave comments.
Login now