Code review comment for lp:~zsombi/ubuntu-ui-toolkit/76-refactoring

Revision history for this message
Tim Peeters (tpeeters) wrote :

423 +void UCListItemSnapAnimator::stop()
424 +{
425 + QQuickPropertyAnimation *snap = getDefaultAnimation();
426 + if (snap && snap->isRunning()) {
427 + snap->stop();
428 + }
429 +}

where do you use this?
perhaps you should be calling this function in snap() instead of calling snap->stop() there.

« Back to merge proposal