diff options
-rw-r--r-- | qt-ui/profile/diveprofileitem.cpp | 10 | ||||
-rw-r--r-- | qt-ui/profile/diveprofileitem.h | 8 | ||||
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
3 files changed, 18 insertions, 2 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index e2148bf7c..d96059173 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -925,3 +925,13 @@ void PartialPressureGasItem::setColors(const QColor &normal, const QColor &alert normalColor = normal; alertColor = alert; } + +InstantMeanDepthLine::InstantMeanDepthLine() +{ + +} + +void InstantMeanDepthLine::mouseMoved(int time, int depth) +{ + +} diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h index 1bdf4b368..7f375f110 100644 --- a/qt-ui/profile/diveprofileitem.h +++ b/qt-ui/profile/diveprofileitem.h @@ -204,6 +204,14 @@ private: DiveTextItem *rightText; }; +class InstantMeanDepthLine : public MeanDepthLine { + Q_OBJECT +public: + InstantMeanDepthLine(); +public slots: + void mouseMoved(int time, int depth); +}; + class PartialPressureGasItem : public AbstractProfilePolygonItem { Q_OBJECT public: diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index d631e3cc1..ba71a9fba 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -836,8 +836,6 @@ void ProfileWidget2::mouseMoveEvent(QMouseEvent *event) && timeAxis->minimum() <= hValue){ mouseFollowerVertical->setPos(pos.x(), profileYAxis->line().y1()); } - - } bool ProfileWidget2::eventFilter(QObject *object, QEvent *event) |