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