1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* Compile fix for older liblastfms.

This commit is contained in:
Christian Muehlhaeuser 2012-12-09 06:51:53 +01:00
parent 473ec61eda
commit 1f570298df

View File

@ -729,7 +729,7 @@ LastFmInfoPlugin::artistInfoReturned()
{
QVariantMap returnedData;
lastfm::XmlQuery lfm;
if ( lfm.parse( reply ) )
if ( lfm.parse( reply->readAll() ) )
{
QRegExp tagRegExp( "<a href=\"http://www.last.fm/tag/([^\"]*)\" class=\"bbcode_tag\" rel=\"tag\">" );
QRegExp artistRegExp( "<a href=\"http://www.last.fm/music/([^\"]*)\" class=\"bbcode_artist\">" );