1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Manually replace + with " " as QUrl::queryItems doesn't do it for us...

This commit is contained in:
Leo Franchi
2011-11-16 21:23:06 -05:00
parent 5a94949b94
commit cb072fcf2c

View File

@@ -431,6 +431,7 @@ GlobalActionManager::doQueueAdd( const QStringList& parts, const QList< QPair< Q
QString title, artist, album, urlStr; QString title, artist, album, urlStr;
foreach( pair, queryItems ) { foreach( pair, queryItems ) {
pair.second = pair.second.replace( "+", " " ); // QUrl::queryItems doesn't decode + to a space :(
if( pair.first == "title" ) if( pair.first == "title" )
title = pair.second; title = pair.second;
else if( pair.first == "artist" ) else if( pair.first == "artist" )