From 191a3064a7e54e8e8209cc93d054f678e4d61a10 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 15 Feb 2014 11:17:23 -0800 Subject: Removed unused setup function Signed-off-by: Dirk Hohndel --- qt-ui/profile/divecartesianaxis.cpp | 12 ------------ qt-ui/profile/divecartesianaxis.h | 1 - 2 files changed, 13 deletions(-) (limited to 'qt-ui/profile') 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; diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h index cd359788b..7c528b4a4 100644 --- a/qt-ui/profile/divecartesianaxis.h +++ b/qt-ui/profile/divecartesianaxis.h @@ -19,7 +19,6 @@ public: enum Orientation{TopToBottom, BottomToTop, LeftToRight, RightToLeft}; DiveCartesianAxis(); virtual ~DiveCartesianAxis(); - void setup(double minimum, double maximum, double interval, double labelFontScale, Orientation o, qreal tickSize, const QPointF& pos); void setMinimum(double minimum); void setMaximum(double maximum); void setTickInterval(double interval); -- cgit v1.2.3-70-g09d2