1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-24 09:49:42 +01:00

Don't re-start already running animation

This commit is contained in:
Leo Franchi 2012-07-31 22:21:44 -04:00
parent 03121f95ff
commit ea3f982415

@ -165,7 +165,7 @@ AnimatedSpinner::drawFrame( QPainter* p, const QRect& rect )
void
AnimatedSpinner::fadeIn()
{
if ( parentWidget() && isVisible() )
if ( parentWidget() && isVisible() || m_animation->state() == QTimeLine::Running )
return;
m_animation->start();