[vlc-commits] Qt: fix album Art update

Jean-Baptiste Kempf git at videolan.org
Sat Sep 15 14:07:29 CEST 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Sep 15 14:03:39 2012 +0200| [0482cd9b612ef7207ee9eae269ff83889e63213e] | committer: Jean-Baptiste Kempf

Qt: fix album Art update

Master and branch have diverged a bit more than I thought, on this
matter.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=0482cd9b612ef7207ee9eae269ff83889e63213e
---

 modules/gui/qt4/components/interface_widgets.cpp |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index b1a9e8b..3fa5956 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -519,9 +519,11 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
     CONNECT( action, triggered(), this, askForUpdate() );
     addAction( action );
 
-    p_item = THEMIM->currentInputItem();
+    input_item_t *p_item = THEMIM->currentInputItem();
     if( p_item )
-        showArtUpdate( p_item );
+    {
+        showArtUpdate( THEMIM->getIM()->decodeArtURL( p_item ) );
+    }
     else
         showArtUpdate( "" );
 }



More information about the vlc-commits mailing list