aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
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);