summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qsequentialanimationgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qsequentialanimationgroup.h')
-rw-r--r--src/corelib/animation/qsequentialanimationgroup.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/corelib/animation/qsequentialanimationgroup.h b/src/corelib/animation/qsequentialanimationgroup.h
index 1c8e67d256..a33ff07abf 100644
--- a/src/corelib/animation/qsequentialanimationgroup.h
+++ b/src/corelib/animation/qsequentialanimationgroup.h
@@ -42,10 +42,9 @@
#include <QtCore/qanimationgroup.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(animation);
-#ifndef QT_NO_ANIMATION
+QT_BEGIN_NAMESPACE
class QPauseAnimation;
class QSequentialAnimationGroupPrivate;
@@ -82,8 +81,6 @@ private:
Q_PRIVATE_SLOT(d_func(), void _q_uncontrolledAnimationFinished())
};
-#endif //QT_NO_ANIMATION
-
QT_END_NAMESPACE
#endif //QSEQUENTIALANIMATIONGROUP_H