1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-08 15:16:34 +02:00

speedup animation a bit to match the other dropmenu's duration

This commit is contained in:
Michael Zanetti
2011-09-24 15:24:42 +02:00
parent c3d223d8cb
commit 375ffd1445

View File

@@ -153,11 +153,11 @@ AudioControls::AudioControls( QWidget* parent )
m_dragAnimation = new QPropertyAnimation( this, "dropAreaSize", this );
m_dragAnimation->setStartValue( 0 );
m_dragAnimation->setDuration( 500 );
m_dragAnimation->setDuration( 300 );
m_dragAnimation->setEasingCurve( QEasingCurve::Linear );
connect( m_dragAnimation, SIGNAL( finished() ), SLOT(dragAnimationFinished()));
m_dropAreaCollapseTimer.setInterval( 500 );
m_dropAreaCollapseTimer.setInterval( 300 );
m_dropAreaCollapseTimer.setSingleShot( true );
connect( &m_dropAreaCollapseTimer, SIGNAL( timeout() ), this, SLOT( collapseDropMenu() ) );