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

Fix ambiguous if() statement

This commit is contained in:
Leo Franchi
2012-08-01 14:35:28 -04:00
parent a9339caa8b
commit eabefe438d

View File

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