mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* 50 fps is enough for our AnimatedSplitter animation.
This commit is contained in:
@@ -150,7 +150,7 @@ AnimatedWidget::AnimatedWidget( AnimatedSplitter* parent )
|
|||||||
, m_isHidden( false )
|
, m_isHidden( false )
|
||||||
{
|
{
|
||||||
m_timeLine = new QTimeLine( ANIMATION_TIME, this );
|
m_timeLine = new QTimeLine( ANIMATION_TIME, this );
|
||||||
m_timeLine->setUpdateInterval( 5 );
|
m_timeLine->setUpdateInterval( 20 );
|
||||||
m_timeLine->setEasingCurve( QEasingCurve::OutBack );
|
m_timeLine->setEasingCurve( QEasingCurve::OutBack );
|
||||||
|
|
||||||
connect( m_timeLine, SIGNAL( frameChanged( int ) ), SLOT( onAnimationStep( int ) ) );
|
connect( m_timeLine, SIGNAL( frameChanged( int ) ), SLOT( onAnimationStep( int ) ) );
|
||||||
|
Reference in New Issue
Block a user