Qt4 - taglib defines attachment:// Make a comment on that.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 31 Jan 2008 04:50:27 +0000 (04:50 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 31 Jan 2008 04:50:27 +0000 (04:50 +0000)
modules/gui/qt4/input_manager.cpp

index 7ad65e7..462913f 100644 (file)
@@ -302,6 +302,8 @@ void UpdateArt()
     if( artUrl != url )
     {
         artUrl = url.replace( "file://",QString("" ) );
+        /* Taglib seems to define a attachment://, It won't work yet */
+        artUrl = url.replace( "attachment://",QString("" ) );
         emit artChanged( artUrl );
         msg_Dbg( p_intf, "Art:  %s", qtu( artUrl ) );
     }