Using stored scale factor.

svn path=/trunk/KDE/kdelibs/; revision=1059939
This commit is contained in:
Adenilson Cavalcanti Da Silva 2009-12-07 18:21:33 +00:00
parent 7a4193fa2a
commit b6f4d1a518

View File

@ -160,8 +160,7 @@ void PulseAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn
setCopy();
}
d->opacityAnimation->setEndValue(0);
/* TODO: save the scale factor somewhere */
d->scaleAnimation->setEndValue(1.5);
d->scaleAnimation->setEndValue(d->endScale);
}
d->animation.data()->start();