summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qanimationgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qanimationgroup.h')
-rw-r--r--src/corelib/animation/qanimationgroup.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/corelib/animation/qanimationgroup.h b/src/corelib/animation/qanimationgroup.h
index 136ad3ca9f..7c7666f251 100644
--- a/src/corelib/animation/qanimationgroup.h
+++ b/src/corelib/animation/qanimationgroup.h
@@ -42,10 +42,9 @@
#include <QtCore/qabstractanimation.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(animation);
-#ifndef QT_NO_ANIMATION
+QT_BEGIN_NAMESPACE
class QAnimationGroupPrivate;
class Q_CORE_EXPORT QAnimationGroup : public QAbstractAnimation
@@ -74,8 +73,6 @@ private:
Q_DECLARE_PRIVATE(QAnimationGroup)
};
-#endif //QT_NO_ANIMATION
-
QT_END_NAMESPACE
#endif //QANIMATIONGROUP_H