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:
Tomaz Canabrava 2014-07-11 19:13:01 -03:00 committed by Dirk Hohndel
parent 2171b981ac
commit e18f4dfdee
7 changed files with 11 additions and 34 deletions

View file

@ -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)