diff --git a/animations/rotationstacked.cpp b/animations/rotationstacked.cpp index c518fc17e..b3f731ef2 100644 --- a/animations/rotationstacked.cpp +++ b/animations/rotationstacked.cpp @@ -75,11 +75,6 @@ RotationStackedAnimation::~RotationStackedAnimation() delete d; } -void RotationStackedAnimation::setWidgetToAnimate(QGraphicsWidget *widget) -{ - Animation::setWidgetToAnimate(widget); -} - void RotationStackedAnimation::setReference(const qint8 &reference) { d->reference = reference; diff --git a/animations/rotationstacked.h b/animations/rotationstacked.h index 9b4da2e16..28570b937 100644 --- a/animations/rotationstacked.h +++ b/animations/rotationstacked.h @@ -66,8 +66,6 @@ class RotationStackedAnimation : public Animation QGraphicsWidget *backWidget(); void setBackWidget(QGraphicsWidget *backWidget); - void setWidgetToAnimate(QGraphicsWidget *widget); - protected: void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); void updateCurrentTime(int currentTime);