summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-11 19:13:01 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-11 17:01:12 -0700
commite18f4dfdeecfb8fdc3cf7bcb7168d84613d4fc7b (patch)
treec498c5401d2601b3128499b30136997796b2f487 /qt-ui/profile/profilewidget2.cpp
parent2171b981ac5a827e732cadefabf8a09762a8c45c (diff)
downloadsubsurface-e18f4dfdeecfb8fdc3cf7bcb7168d84613d4fc7b.tar.gz
Code cleanup: removed bogus animation functions
All animations are now on the Animations namespace, which resulted in a bit of code cleanup, which is nice. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 59e6cb17b..69c52b787 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -490,7 +490,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
meanDepth->setVisible(false);
meanDepth->setMeanDepth(pInfo.meandepth);
meanDepth->setLine(0, 0, timeAxis->posAtValue(displayed_dive.duration.seconds), 0);
- meanDepth->animateMoveTo(3, profileYAxis->posAtValue(pInfo.meandepth));
+ Animations::moveTo(meanDepth,3, profileYAxis->posAtValue(pInfo.meandepth));
dataModel->emitDataChanged();
// The event items are a bit special since we don't know how many events are going to