mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
TWK-1377: Space Encoding on Imported M3Us
This commit is contained in:
@@ -139,8 +139,6 @@ M3uLoader::parseM3u( const QString& fileLink )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_title = fileInfo.baseName();
|
|
||||||
|
|
||||||
QTextStream stream( &file );
|
QTextStream stream( &file );
|
||||||
QString singleLine;
|
QString singleLine;
|
||||||
|
|
||||||
@@ -179,6 +177,7 @@ M3uLoader::parseM3u( const QString& fileLink )
|
|||||||
|
|
||||||
if ( m_createNewPlaylist )
|
if ( m_createNewPlaylist )
|
||||||
{
|
{
|
||||||
|
m_title = QUrl::fromPercentEncoding( fileInfo.baseName().toUtf8() );
|
||||||
m_playlist = Playlist::create( SourceList::instance()->getLocal(),
|
m_playlist = Playlist::create( SourceList::instance()->getLocal(),
|
||||||
uuid(),
|
uuid(),
|
||||||
m_title,
|
m_title,
|
||||||
|
Reference in New Issue
Block a user