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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue