Commit ca4637c3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix the drag'n drop of directories on windows. Thanks to rohanpm on #qt for the idea. Close #1525

parent 9fea7e2f
......@@ -1095,7 +1095,7 @@ void MainInterface::dropEvent(QDropEvent *event)
bool first = true;
foreach( QUrl url, mimeData->urls() )
{
QString s = url.toString();
QString s = url.toLocalFile();
if( s.length() > 0 ) {
playlist_Add( THEPL, qtu(s), NULL,
PLAYLIST_APPEND | (first ? PLAYLIST_GO:0),
......
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