summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qanimationgroup_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qanimationgroup_p.h')
-rw-r--r--src/corelib/animation/qanimationgroup_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qanimationgroup_p.h b/src/corelib/animation/qanimationgroup_p.h
index d0b2e9f9bb..4d1d690e69 100644
--- a/src/corelib/animation/qanimationgroup_p.h
+++ b/src/corelib/animation/qanimationgroup_p.h
@@ -78,7 +78,7 @@ public:
void disconnectUncontrolledAnimation(QAbstractAnimation *anim)
{
//0 for the signal here because we might be called from the animation destructor
- QObject::disconnect(anim, 0, q_func(), SLOT(_q_uncontrolledAnimationFinished()));
+ QObject::disconnect(anim, nullptr, q_func(), SLOT(_q_uncontrolledAnimationFinished()));
}
void connectUncontrolledAnimation(QAbstractAnimation *anim)