summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r--qt-ui/profile/divecartesianaxis.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h
index e4366eaf4..3f18fe8ff 100644
--- a/qt-ui/profile/divecartesianaxis.h
+++ b/qt-ui/profile/divecartesianaxis.h
@@ -36,7 +36,7 @@ public:
void animateChangeLine(const QLineF& newLine);
int unitSystem;
public slots:
- void updateTicks();
+ virtual void updateTicks();
signals:
void sizeChanged();
void maxChanged();
@@ -66,6 +66,9 @@ private slots:
};
class TimeAxis : public DiveCartesianAxis {
+ Q_OBJECT
+public:
+ virtual void updateTicks();
protected:
QString textForValue(double value);
QColor colorForValue(double value);