1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 20:41:58 +02:00

replace BounceAnimaton with ExpoAnimation

This commit is contained in:
Michael Zanetti 2011-08-23 08:29:25 +02:00
parent 232097b06b
commit a7d1275e52

View File

@ -33,7 +33,7 @@ void AnimationHelper::initialize( const QSize& startValue, const QSize& endValue
m_expandAnimation->setStartValue( startValue );
m_expandAnimation->setEndValue( endValue );
m_expandAnimation->setDuration( duration );
m_expandAnimation->setEasingCurve( QEasingCurve::OutBounce );
m_expandAnimation->setEasingCurve( QEasingCurve::OutExpo );
qDebug() << "starting animation" << startValue << endValue << duration;
connect( m_expandAnimation, SIGNAL( finished() ), SLOT(expandAnimationFinished()));
@ -41,7 +41,7 @@ void AnimationHelper::initialize( const QSize& startValue, const QSize& endValue
m_collapseAnimation->setStartValue( endValue );
m_collapseAnimation->setEndValue( startValue );
m_collapseAnimation->setDuration( duration );
m_collapseAnimation->setEasingCurve( QEasingCurve::OutBounce );
m_collapseAnimation->setEasingCurve( QEasingCurve::InExpo );
connect( m_collapseAnimation, SIGNAL( finished() ), SLOT(collapseAnimationFinished()));
}