1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 09:04:33 +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;
bool error = false;
QStringList urls = fileUrls.split( QRegExp( "\\s+" ), QString::SkipEmptyParts );
QStringList urls = fileUrls.split( QRegExp( "\n" ), QString::SkipEmptyParts );
if ( dropAction() == Default )
setDropAction( Create );