1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 18:14:50 +02:00

Fix loading XSPFs with spaces in their name.

This commit is contained in:
Leo Franchi
2011-11-22 08:57:04 -05:00
parent b5167db7a3
commit 38a7051bba

View File

@@ -424,7 +424,7 @@ DropJob::handleXspfs( const QString& fileUrls )
{ {
tDebug() << Q_FUNC_INFO << "Got xspf playlist!!" << fileUrls; tDebug() << Q_FUNC_INFO << "Got xspf playlist!!" << fileUrls;
bool error = false; bool error = false;
QStringList urls = fileUrls.split( QRegExp( "\\s+" ), QString::SkipEmptyParts ); QStringList urls = fileUrls.split( QRegExp( "\n" ), QString::SkipEmptyParts );
if ( dropAction() == Default ) if ( dropAction() == Default )
setDropAction( Create ); setDropAction( Create );