]> git.sesse.net Git - vlc/commitdiff
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 7ad65e74c47d8f4d8ee86a33f19b612ed6360ce2..462913f111d6d5c2b9a08c79da2e8bbcb5e25613 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 ) );
     }