diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-16 19:40:29 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-17 06:19:26 +0700 |
commit | 2e4dcba009337dfafe6afbf97a11c6470834dabd (patch) | |
tree | fe139753751040c9a6c4c9652baade867687802c | |
parent | f9784d876e70277d92d7607cd7699756e2f64d6d (diff) | |
download | subsurface-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.cpp | 2 |
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); |