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>
This commit is contained in:
Berthold Stoeger 2021-06-01 07:47:16 +02:00 committed by Dirk Hohndel
parent 87e203ea50
commit 04d7c9b808
2 changed files with 0 additions and 2 deletions

View file

@ -64,7 +64,6 @@ void DiveCartesianAxis::setTextColor(const QColor &color)
DiveCartesianAxis::DiveCartesianAxis(ProfileWidget2 *widget) : QObject(), DiveCartesianAxis::DiveCartesianAxis(ProfileWidget2 *widget) : QObject(),
QGraphicsLineItem(), QGraphicsLineItem(),
printMode(false), printMode(false),
unitSystem(0),
profileWidget(widget), profileWidget(widget),
orientation(LeftToRight), orientation(LeftToRight),
min(0), min(0),

View file

@ -49,7 +49,6 @@ public:
void setLinesVisible(bool arg1); void setLinesVisible(bool arg1);
void setLineSize(qreal lineSize); void setLineSize(qreal lineSize);
void setLine(const QLineF& line); void setLine(const QLineF& line);
int unitSystem;
virtual void updateTicks(color_index_t color = TIME_GRID); virtual void updateTicks(color_index_t color = TIME_GRID);
signals: signals: