@@ -75,6 +75,10 QScatterSeries::QScatterSeries(QObject *parent) : QXYSeries(*new QScatterSeriesP | |||||
75 | */ |
|
75 | */ | |
76 | QScatterSeries::~QScatterSeries() |
|
76 | QScatterSeries::~QScatterSeries() | |
77 | { |
|
77 | { | |
|
78 | Q_D(QScatterSeries); | |||
|
79 | if(d->m_dataset) { | |||
|
80 | d->m_dataset->removeSeries(this); | |||
|
81 | } | |||
78 | } |
|
82 | } | |
79 |
|
83 | |||
80 | QAbstractSeries::SeriesType QScatterSeries::type() const |
|
84 | QAbstractSeries::SeriesType QScatterSeries::type() const |
General Comments 0
You need to be logged in to leave comments.
Login now