mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Don't re-start already running animation
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user