diff --git a/animator.cpp b/animator.cpp index 958a1ccf1..0b97086c4 100644 --- a/animator.cpp +++ b/animator.cpp @@ -120,7 +120,7 @@ void Animator::itemDisappear(qreal frame, QGraphicsItem* item) Q_UNUSED(item) } -void Animator::activate(qreal frame, QGraphicsItem* item) +void Animator::itemActivated(qreal frame, QGraphicsItem* item) { Q_UNUSED(frame) Q_UNUSED(item) diff --git a/animator.h b/animator.h index b9e42c652..ed90e56e5 100644 --- a/animator.h +++ b/animator.h @@ -61,7 +61,7 @@ public: // Item animations virtual void itemAppear(qreal progress, QGraphicsItem* item); virtual void itemDisappear(qreal progress, QGraphicsItem* item); - virtual void activate(qreal progress, QGraphicsItem* item); + virtual void itemActivated(qreal progress, QGraphicsItem* item); // Item movements virtual void slideIn(qreal progress, QGraphicsItem* item, const QPoint &start, const QPoint &destination); diff --git a/phase.cpp b/phase.cpp index bc571ac74..91ef01a01 100644 --- a/phase.cpp +++ b/phase.cpp @@ -140,7 +140,7 @@ class Phase::Private } break; case Phase::Activate: - animator->activate(amount, state->item); + animator->itemActivated(amount, state->item); break; } }