Commit 9683d887 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: use percent-encoding on dnd filenames

Should fix #4078 , same issue was in linux side also.
parent 6deae4bd
......@@ -1074,7 +1074,7 @@ void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
{
if( url.isValid() )
{
char* psz_uri = make_URI( qtu( url.toString() ), NULL );
char* psz_uri = make_URI( url.toEncoded().constData(), NULL );
playlist_Add( THEPL, psz_uri, NULL,
PLAYLIST_APPEND | (first ? PLAYLIST_GO: PLAYLIST_PREPARSE),
PLAYLIST_END, true, pl_Unlocked );
......
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