set start value; now it can go backwards too
svn path=/trunk/KDE/kdelibs/; revision=1038848
This commit is contained in:
parent
545164b5b8
commit
fd48743847
@ -73,6 +73,7 @@ QAbstractAnimation* FadeAnimation::render(QObject* parent)
|
||||
|
||||
//create animation
|
||||
QPropertyAnimation* anim = new QPropertyAnimation(d->opacityEffect, "opacity", parent);
|
||||
anim->setStartValue(0);
|
||||
anim->setEndValue(m_animFactor);
|
||||
anim->setDuration(duration());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user