summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-16 19:40:29 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-17 06:19:26 +0700
commit2e4dcba009337dfafe6afbf97a11c6470834dabd (patch)
treefe139753751040c9a6c4c9652baade867687802c
parentf9784d876e70277d92d7607cd7699756e2f64d6d (diff)
downloadsubsurface-2e4dcba009337dfafe6afbf97a11c6470834dabd.tar.gz
Do not display the Time Axis
The old graph didn't display the time axis, so this will also not display it. By not calling updateTicks the labels and ticks of the Axis are not created. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index a7e41ac18..b7489cc25 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -278,7 +278,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives)
profileYAxis->updateTicks();
temperatureAxis->setMinimum(pInfo.mintemp);
temperatureAxis->setMaximum(pInfo.maxtemp);
- temperatureAxis->updateTicks();
+ //temperatureAxis->updateTicks();
timeAxis->setMaximum(maxtime);
timeAxis->updateTicks();
dataModel->setDive(current_dive, pInfo);