aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-15 11:17:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-15 11:17:23 -0800
commit191a3064a7e54e8e8209cc93d054f678e4d61a10 (patch)
tree09d45144e97d67d876450b48a431c9c6f95b807a /qt-ui/profile/divecartesianaxis.cpp
parent6be62c1d90b064b1400dc3e76bc2a4c2f20904c5 (diff)
downloadsubsurface-191a3064a7e54e8e8209cc93d054f678e4d61a10.tar.gz
Removed unused setup function
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index 55c5d7482..be83dcc7a 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -20,18 +20,6 @@ static QPen gridPen(){
return pen;
}
-void DiveCartesianAxis::setup(double minimum, double maximum, double interval, double labelFontScale,
- DiveCartesianAxis::Orientation o, qreal tick_size, const QPointF& pos)
-{
- setMinimum(minimum);
- setMaximum(maximum);
- setTickInterval(interval);
- setOrientation(o);
- setTickSize(tick_size);
- setPos(pos);
- setFontLabelScale(labelFontScale);
-}
-
double DiveCartesianAxis::tickInterval() const
{
return interval;