@@ -88,7 +88,7 void ChartDataSet::addSeries(QSeries* series, QChartAxis *axisY) | |||
|
88 | 88 | void ChartDataSet::removeSeries(QSeries* series) |
|
89 | 89 | { |
|
90 | 90 | int index = seriesIndex(series); |
|
91 |
if ( |
|
|
91 | if (index < 0) { | |
|
92 | 92 | qWarning() << "Can not remove series. Series not found on the chart."; |
|
93 | 93 | return; |
|
94 | 94 | } |
General Comments 0
You need to be logged in to leave comments.
Login now