summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-07 19:42:47 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-08 07:21:50 -0800
commit4882336315d3ddf01579b94473ffafc62c9807be (patch)
treeaf870dcf705f7ec354dfc57e937cbac9900f9066 /qt-ui/profile/divecartesianaxis.cpp
parent7fbeb71dce2d490218066c3b2ac60ae9d422233d (diff)
downloadsubsurface-4882336315d3ddf01579b94473ffafc62c9807be.tar.gz
Partial pressures and cylinder pressure back on profile.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index d2806aa40..4545f0338 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -90,10 +90,6 @@ void DiveCartesianAxis::updateTicks()
double steps = (max - min) / interval;
double currValue = min;
- if(!labels.isEmpty()){
- qDeleteAll(labels);
- labels.clear();
- }
if (steps < 1)
return;