diff --git a/src/gui/animation/qabstractanimation.cpp b/src/gui/animation/qabstractanimation.cpp index 2d64cd194..9c648132b 100644 --- a/src/gui/animation/qabstractanimation.cpp +++ b/src/gui/animation/qabstractanimation.cpp @@ -398,7 +398,7 @@ void QAbstractAnimationPrivate::setState(QAbstractAnimation::State newState) if (oldState == QAbstractAnimation::Running) { if (newState == QAbstractAnimation::Paused && hasRegisteredTimer) QUnifiedTimer::ensureTimerUpdate(); - //the animation, is not running any more + // the animation is not running any more QUnifiedTimer::unregisterAnimation(q); } else if (newState == QAbstractAnimation::Running) { QUnifiedTimer::registerAnimation(q, isTopLevel); diff --git a/src/gui/animation/qabstractanimation_p.h b/src/gui/animation/qabstractanimation_p.h index 7246ee4ed..bb891feb3 100644 --- a/src/gui/animation/qabstractanimation_p.h +++ b/src/gui/animation/qabstractanimation_p.h @@ -114,12 +114,11 @@ private: QBasicTimer m_timer; }; -class Q_GUI_EXPORT QUnifiedTimer : public QObject +class QUnifiedTimer : public QObject { public: QUnifiedTimer(); - //XXX this is needed by dui static QUnifiedTimer *instance(); static void registerAnimation(QAbstractAnimation *animation, bool isTopLevel);