1
0
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:
Hugo Lindström 2013-06-10 14:53:37 +02:00
parent 71651f62b1
commit 063f0653ac

View File

@ -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,