small change in album art change.
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 21 Sep 2007 15:59:45 +0000 (15:59 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 21 Sep 2007 15:59:45 +0000 (15:59 +0000)
modules/gui/qt4/components/interface_widgets.cpp

index 4c43125..d542cbe 100644 (file)
@@ -720,9 +720,11 @@ void PlaylistWidget::setArt( QString url )
     if( url.isNull() )
         art->setPixmap( QPixmap( ":/noart.png" ) );
     else if( prevArt != url )
+    {
         art->setPixmap( QPixmap( url ) );
-    prevArt = url;
-    emit artSet( url );
+        prevArt = url;
+        emit artSet( url );
+    }
 }
 
 PlaylistWidget::~PlaylistWidget()