Commit 935cc5d2 authored by Geoffroy Couprie's avatar Geoffroy Couprie

Win32: fix DIR_SEP failed assertion introduced in 96998812

parent 53fa7355
......@@ -418,7 +418,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
files.sort();
foreach( const QString &file, files )
{
char* psz_uri = make_URI( qtu( file ) );
char* psz_uri = make_URI( qtu( toNativeSeparators(file) ) );
playlist_Add( THEPL, psz_uri, NULL,
go ? ( PLAYLIST_APPEND | ( i ? PLAYLIST_PREPARSE : PLAYLIST_GO ) )
: ( PLAYLIST_APPEND | PLAYLIST_PREPARSE ),
......
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