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:
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user