summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-06-01 07:47:16 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-06-01 09:25:32 -0700
commit04d7c9b808a6093aee7981271659329220d2023b (patch)
treee86ac8213839289ebbcdc310e852980ab21abb92 /profile-widget
parent87e203ea507907f6e394cfc7ddcdc35d3099be22 (diff)
downloadsubsurface-04d7c9b808a6093aee7981271659329220d2023b.tar.gz
cleanup: remove DiveCartesianAxis::unitSystem
This was only used by the child class DepthAxis, where it was defined separately. An oversight? In any case, remove the unused member. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divecartesianaxis.cpp1
-rw-r--r--profile-widget/divecartesianaxis.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/profile-widget/divecartesianaxis.cpp b/profile-widget/divecartesianaxis.cpp
index 33b09b615..181e242fc 100644
--- a/profile-widget/divecartesianaxis.cpp
+++ b/profile-widget/divecartesianaxis.cpp
@@ -64,7 +64,6 @@ void DiveCartesianAxis::setTextColor(const QColor &color)
DiveCartesianAxis::DiveCartesianAxis(ProfileWidget2 *widget) : QObject(),
QGraphicsLineItem(),
printMode(false),
- unitSystem(0),
profileWidget(widget),
orientation(LeftToRight),
min(0),
diff --git a/profile-widget/divecartesianaxis.h b/profile-widget/divecartesianaxis.h
index a4a38dd1e..52f65c726 100644
--- a/profile-widget/divecartesianaxis.h
+++ b/profile-widget/divecartesianaxis.h
@@ -49,7 +49,6 @@ public:
void setLinesVisible(bool arg1);
void setLineSize(qreal lineSize);
void setLine(const QLineF& line);
- int unitSystem;
virtual void updateTicks(color_index_t color = TIME_GRID);
signals: