@@ -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