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:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user