Commit 39a36910 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: fix adding items on Win32

Pointed-out-by: default avatar김정은 <sunqueen@paran.com>
parent 7a4bb03e
...@@ -438,7 +438,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go) ...@@ -438,7 +438,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
files.sort(); files.sort();
foreach( const QString &file, files ) foreach( const QString &file, files )
{ {
QString url = toURI( file ); QString url = toURI( toNativeSeparators( file ) );
playlist_Add( THEPL, qtu( url ), NULL, PLAYLIST_APPEND | mode, playlist_Add( THEPL, qtu( url ), NULL, PLAYLIST_APPEND | mode,
PLAYLIST_END, pl, pl_Unlocked ); PLAYLIST_END, pl, pl_Unlocked );
RecentsMRL::getInstance( p_intf )->addRecent( url ); RecentsMRL::getInstance( p_intf )->addRecent( url );
......
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