mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix an issue added in the last commit
The last commit made the time and all other axis behave like the time axis. Not cool. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9f6ebf96a7
commit
607bf47989
2 changed files with 14 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue