Commit 1cc1d3ab authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix albumart on Win32.

parent 2c1ccdbd
......@@ -592,7 +592,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 );
}
......
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