summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-10 13:54:17 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-10 13:54:17 -0300
commit45f80afc1f186f65dad95b54f4fba502a5933884 (patch)
tree4349785ce0e8e215388777a09b3b992a8cdef030 /qt-ui/profilegraphics.h
parent3eac2360e7173580c7325ccb9814be538d3ee078 (diff)
downloadsubsurface-45f80afc1f186f65dad95b54f4fba502a5933884.tar.gz
Fix memory leak
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index 9c1c5dbc1..5f9df0bde 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -25,6 +25,7 @@ public:
enum {ICON_SMALL = 16, ICON_MEDIUM = 24, ICON_BIG = 32, SPACING=4};
explicit ToolTipItem(QGraphicsItem* parent = 0);
+ virtual ~ToolTipItem();
void collapse();
void expand();
@@ -83,7 +84,7 @@ private:
void plot_events(struct divecomputer *dc);
void plot_one_event(struct event *event);
void plot_temperature_profile();
- void plot_cylinder_pressure(struct dive *dive, struct divecomputer *dc);
+ void plot_cylinder_pressure(struct divecomputer *dc);
void plot_temperature_text();
void plot_single_temp_text(int sec, int mkelvin);
void plot_depth_text();