diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-02-07 18:08:29 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-08 07:21:28 -0800 |
commit | 7fbeb71dce2d490218066c3b2ac60ae9d422233d (patch) | |
tree | 29622059eeed4f533c2de208383b783f0927cc41 /qt-ui/profile/profilewidget2.cpp | |
parent | 0ad2a69c4234e23cbcdfe4ce2c498bd0bdeee611 (diff) | |
download | subsurface-7fbeb71dce2d490218066c3b2ac60ae9d422233d.tar.gz |
Remove code that was unused.
Ancient code that was unused and only adding complexity to the
DiveCartesianAxis.
Also remove the spacing between the text and the lines of the Axis.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 14a7c3a28..b7970c759 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -120,7 +120,7 @@ void ProfileWidget2::setupItemOnScene() profileYAxis->setOrientation(DiveCartesianAxis::TopToBottom); profileYAxis->setMinimum(0); profileYAxis->setTickInterval(M_OR_FT(10,30)); - profileYAxis->setTickSize(2); + profileYAxis->setTickSize(1); gasYAxis->setOrientation(DiveCartesianAxis::BottomToTop); gasYAxis->setTickInterval(1); @@ -268,7 +268,6 @@ void ProfileWidget2::plotDives(QList<dive*> dives) profileYAxis->setMaximum(maxdepth); profileYAxis->updateTicks(); - qDebug() << "More profile..." << profileYAxis->minimum() << profileYAxis->maximum() << profileYAxis->tickInterval() << profileYAxis->tickSize(); temperatureAxis->setMinimum(pInfo.mintemp); temperatureAxis->setMaximum(pInfo.maxtemp); timeAxis->setMaximum(maxtime); |