Have ProfileWidget2 delete its allocated data

This creates a destructor for ProfileWidget2 that deletetes its new'ed
objects on exit.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-12-18 08:47:51 +01:00 committed by Dirk Hohndel
parent bdea7dd0d6
commit 8571268d21
2 changed files with 32 additions and 0 deletions

View file

@ -120,6 +120,7 @@ slots: // Necessary to call from QAction's signals.
void divePlannerHandlerClicked();
void divePlannerHandlerReleased();
protected:
virtual ~ProfileWidget2();
virtual void resizeEvent(QResizeEvent *event);
virtual void wheelEvent(QWheelEvent *event);
virtual void mouseMoveEvent(QMouseEvent *event);