1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02: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; QVariantMap returnedData;
lastfm::XmlQuery lfm; 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 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\">" ); QRegExp artistRegExp( "<a href=\"http://www.last.fm/music/([^\"]*)\" class=\"bbcode_artist\">" );