aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
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
parent6be62c1d90b064b1400dc3e76bc2a4c2f20904c5 (diff)
downloadsubsurface-191a3064a7e54e8e8209cc93d054f678e4d61a10.tar.gz
Removed unused setup function
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp12
-rw-r--r--qt-ui/profile/divecartesianaxis.h1
2 files changed, 0 insertions, 13 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;
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);