##// END OF EJS Templates
Bugfix: delete presenter first, before root of all graphical items
Michal Klocek -
r686:8c2240c1bb61
parent child
Show More
@@ -68,6 +68,9 QChart::QChart(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QGraphicsWidget(
68 */
68 */
69 QChart::~QChart()
69 QChart::~QChart()
70 {
70 {
71 //delete first presenter , since this is a root of all the graphical items
72 delete m_presenter;
73 m_presenter=0;
71 }
74 }
72
75
73 /*!
76 /*!
General Comments 0
You need to be logged in to leave comments. Login now