mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
2171b981ac
commit
e18f4dfdee
7 changed files with 11 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue