From 08123d1bbca4e661bad6bb93763b32fb7c7d46fb Mon Sep 17 00:00:00 2001 From: Kilian Lackhove Date: Mon, 10 Sep 2012 23:24:33 +0200 Subject: [PATCH] typo, this fixes album tracks retireval for many albums, e.g. bloc party - four or the xx - coexist --- src/libtomahawk/accounts/spotify/SpotifyInfoPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/spotify/SpotifyInfoPlugin.cpp b/src/libtomahawk/accounts/spotify/SpotifyInfoPlugin.cpp index b16e24351..cddb7f105 100644 --- a/src/libtomahawk/accounts/spotify/SpotifyInfoPlugin.cpp +++ b/src/libtomahawk/accounts/spotify/SpotifyInfoPlugin.cpp @@ -89,7 +89,7 @@ SpotifyInfoPlugin::notInCacheSlot( InfoStringHash criteria, InfoRequestData requ { // No running spotify account, use our webservice QUrl lookupUrl( "http://ws.spotify.com/search/1/album.json" ); - lookupUrl.addQueryItem( "q", QString( "%1 %2" ).arg( album ).arg( album ) ); + lookupUrl.addQueryItem( "q", QString( "%1 %2" ).arg( artist ).arg( album ) ); QNetworkReply * reply = TomahawkUtils::nam()->get( QNetworkRequest( lookupUrl ) ); NewClosure( reply, SIGNAL( finished() ), this, SLOT( albumIdLookupFinished( QNetworkReply*, Tomahawk::InfoSystem::InfoRequestData ) ), reply, requestData );