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