summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
-rw-r--r--qt-ui/profile/diveprofileitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp
index cc4989d33..1c8a13fb5 100644
--- a/qt-ui/profile/diveprofileitem.cpp
+++ b/qt-ui/profile/diveprofileitem.cpp
@@ -4,6 +4,7 @@
#include "graphicsview-common.h"
#include "divetextitem.h"
#include "profilewidget2.h"
+#include "animationfunctions.h"
#include "profile.h"
#include "dive.h"
#include "preferences.h"
@@ -666,7 +667,7 @@ void MeanDepthLine::setAxis(DiveCartesianAxis *a)
void MeanDepthLine::axisLineChanged()
{
DiveCartesianAxis *axis = qobject_cast<DiveCartesianAxis *>(sender());
- animateMoveTo(x(), axis->posAtValue(meanDepth));
+ Animations::moveTo(this, x(), axis->posAtValue(meanDepth));
}
void PartialPressureGasItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)