aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/animations/qanimationgroupjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/animations/qanimationgroupjob.cpp')
-rw-r--r--src/qml/animations/qanimationgroupjob.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/qml/animations/qanimationgroupjob.cpp b/src/qml/animations/qanimationgroupjob.cpp
index afdf07639b..a8b1b28e3e 100644
--- a/src/qml/animations/qanimationgroupjob.cpp
+++ b/src/qml/animations/qanimationgroupjob.cpp
@@ -167,4 +167,16 @@ void QAnimationGroupJob::animationRemoved(QAbstractAnimationJob* anim, QAbstract
}
}
+void QAnimationGroupJob::debugChildren(QDebug d) const
+{
+ int indentLevel = 1;
+ const QAnimationGroupJob *group = this;
+ while ((group = group->m_group))
+ ++indentLevel;
+
+ QByteArray ind(indentLevel, ' ');
+ for (QAbstractAnimationJob *child = firstChild(); child; child = child->nextSibling())
+ d << "\n" << ind.constData() << child;
+}
+
QT_END_NAMESPACE