Setting the scale (it works now, there is a problem with centering).

svn path=/trunk/KDE/kdelibs/; revision=1094558
This commit is contained in:
Adenilson Cavalcanti Da Silva 2010-02-22 22:17:17 +00:00
parent 3b589bbd68
commit 02d3966f3c

View File

@ -123,7 +123,7 @@ void PulseAnimation::updateCurrentTime(int currentTime)
qreal delta = Animation::easingCurve().valueForProgress( currentTime / qreal(duration()));
if (m_under.data()->isIconBigger()) {
/* TODO: calculate the scale for bigger icon */
m_under.data()->setScale(delta);
} else {
m_under.data()->setScale(delta);