summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qpauseanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qpauseanimation.h')
-rw-r--r--src/corelib/animation/qpauseanimation.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/corelib/animation/qpauseanimation.h b/src/corelib/animation/qpauseanimation.h
index e2095a39d6..6bdbeefdbd 100644
--- a/src/corelib/animation/qpauseanimation.h
+++ b/src/corelib/animation/qpauseanimation.h
@@ -42,10 +42,9 @@
#include <QtCore/qanimationgroup.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(animation);
-#ifndef QT_NO_ANIMATION
+QT_BEGIN_NAMESPACE
class QPauseAnimationPrivate;
@@ -70,8 +69,6 @@ private:
Q_DECLARE_PRIVATE(QPauseAnimation)
};
-#endif //QT_NO_ANIMATION
-
QT_END_NAMESPACE
#endif // QPAUSEANIMATION_H