aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/animations/qsequentialanimationgroupjob_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/animations/qsequentialanimationgroupjob_p.h')
-rw-r--r--src/qml/animations/qsequentialanimationgroupjob_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/animations/qsequentialanimationgroupjob_p.h b/src/qml/animations/qsequentialanimationgroupjob_p.h
index 5fbafcb9ac..c7023b77c6 100644
--- a/src/qml/animations/qsequentialanimationgroupjob_p.h
+++ b/src/qml/animations/qsequentialanimationgroupjob_p.h
@@ -77,7 +77,7 @@ protected:
private:
struct AnimationIndex
{
- AnimationIndex() : afterCurrent(false), timeOffset(0), animation(0) {}
+ AnimationIndex() : afterCurrent(false), timeOffset(0), animation(nullptr) {}
// AnimationIndex points to the animation at timeOffset, skipping 0 duration animations.
// Note that the index semantic is slightly different depending on the direction.
bool afterCurrent; //whether animation is before or after m_currentAnimation //TODO: make enum Before/After/Same