##// END OF EJS Templates
Fix another memory leak....
Miikka Heikkinen -
r2735:7d77c52a3f95
parent child
Show More
@@ -888,7 +888,9 QAbstractSeries *DeclarativeChart::createSeries(int type, QString name, QAbstrac
888 break;
888 break;
889 case DeclarativeChart::SeriesTypeArea: {
889 case DeclarativeChart::SeriesTypeArea: {
890 DeclarativeAreaSeries *area = new DeclarativeAreaSeries();
890 DeclarativeAreaSeries *area = new DeclarativeAreaSeries();
891 area->setUpperSeries(new DeclarativeLineSeries());
891 DeclarativeLineSeries *line = new DeclarativeLineSeries();
892 line->setParent(area);
893 area->setUpperSeries(line);
892 series = area;
894 series = area;
893 break;
895 break;
894 }
896 }
General Comments 0
You need to be logged in to leave comments. Login now