summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qpropertyanimation_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qpropertyanimation_p.h')
-rw-r--r--src/corelib/animation/qpropertyanimation_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/corelib/animation/qpropertyanimation_p.h b/src/corelib/animation/qpropertyanimation_p.h
index cfb1f247e0..cbd3ce287d 100644
--- a/src/corelib/animation/qpropertyanimation_p.h
+++ b/src/corelib/animation/qpropertyanimation_p.h
@@ -55,7 +55,7 @@
#include "private/qvariantanimation_p.h"
-#ifndef QT_NO_ANIMATION
+QT_REQUIRE_CONFIG(animation);
QT_BEGIN_NAMESPACE
@@ -64,7 +64,7 @@ class QPropertyAnimationPrivate : public QVariantAnimationPrivate
Q_DECLARE_PUBLIC(QPropertyAnimation)
public:
QPropertyAnimationPrivate()
- : targetValue(0), propertyType(0), propertyIndex(-1)
+ : targetValue(nullptr), propertyType(0), propertyIndex(-1)
{
}
@@ -83,6 +83,4 @@ public:
QT_END_NAMESPACE
-#endif //QT_NO_ANIMATION
-
#endif //QPROPERTYANIMATION_P_H