equal
deleted
inserted
replaced
462 activateCurrentAnimation(intermediate); |
462 activateCurrentAnimation(intermediate); |
463 } |
463 } |
464 |
464 |
465 void QSequentialAnimationGroupPrivate::activateCurrentAnimation(bool intermediate) |
465 void QSequentialAnimationGroupPrivate::activateCurrentAnimation(bool intermediate) |
466 { |
466 { |
467 Q_Q(QSequentialAnimationGroup); |
467 if (!currentAnimation || state == QSequentialAnimationGroup::Stopped) |
468 |
|
469 if (!currentAnimation) |
|
470 return; |
|
471 |
|
472 if (state == QSequentialAnimationGroup::Stopped) |
|
473 return; |
468 return; |
474 |
469 |
475 currentAnimation->stop(); |
470 currentAnimation->stop(); |
476 |
471 |
477 // we ensure the direction is consistent with the group's direction |
472 // we ensure the direction is consistent with the group's direction |