diff --git a/animations/animation.cpp b/animations/animation.cpp index 2a0ac8d9e..39bba15f3 100644 --- a/animations/animation.cpp +++ b/animations/animation.cpp @@ -83,11 +83,6 @@ QEasingCurve Animation::easingCurve() const return d->easingCurve; } -QEasingCurve& Animation::easingCurve() -{ - return d->easingCurve; -} - void Animation::updateCurrentTime(int currentTime) { Q_UNUSED(currentTime) diff --git a/animations/animation.h b/animations/animation.h index bec96ece8..74f14468f 100644 --- a/animations/animation.h +++ b/animations/animation.h @@ -138,15 +138,6 @@ protected: */ virtual void updateCurrentTime(int currentTime); - /** - * Internal use only, access the easing curve object (see - * \ref AnimationPrivate). Commonly used if a non-linear - * animation is desired while setting the delta in \ref updateCurrentTime. - * - * @return An internal easing curve (default is Type::Linear). - */ - QEasingCurve &easingCurve(); - private: /**