Commit 70e91fe2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt: fix albumart on Win32.


(cherry picked from commit 1cc1d3ab74fac41f348d772d8685203b82577d0e)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1330bc95
......@@ -593,7 +593,11 @@ void InputManager::UpdateArt()
char *psz_art = input_item_GetArtURL( input_GetItem( p_input ) );
if( psz_art && !strncmp( psz_art, "file://", 7 ) &&
decode_URI( psz_art + 7 ) )
url = qfu( psz_art + 7);
#ifdef WIN32
url = qfu( psz_art + 8 ); // Remove extra / starting on Win32.
#else
url = qfu( psz_art + 7 );
#endif
free( psz_art );
url = url.replace( "file://", "" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment