mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cleanup: unslotify DiveCartesianAxis::updateTicks
This virtual function is not used as the target of a signal anywhere, which means that it shouldn't be a slot. Moreover, mark the one place it is overriden as override. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
02fbaffe4c
commit
f3ac9c96c6
1 changed files with 1 additions and 3 deletions
|
@ -50,8 +50,6 @@ public:
|
||||||
void setLineSize(qreal lineSize);
|
void setLineSize(qreal lineSize);
|
||||||
void setLine(const QLineF& line);
|
void setLine(const QLineF& line);
|
||||||
int unitSystem;
|
int unitSystem;
|
||||||
public
|
|
||||||
slots:
|
|
||||||
virtual void updateTicks(color_index_t color = TIME_GRID);
|
virtual void updateTicks(color_index_t color = TIME_GRID);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
@ -94,7 +92,7 @@ class TimeAxis : public DiveCartesianAxis {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
TimeAxis(ProfileWidget2 *widget);
|
TimeAxis(ProfileWidget2 *widget);
|
||||||
void updateTicks(color_index_t color = TIME_GRID);
|
void updateTicks(color_index_t color = TIME_GRID) override;
|
||||||
private:
|
private:
|
||||||
QString textForValue(double value) const override;
|
QString textForValue(double value) const override;
|
||||||
QColor colorForValue(double value) const override;
|
QColor colorForValue(double value) const override;
|
||||||
|
|
Loading…
Reference in a new issue