From 1f570298dff8b6a126d53df27e024a87791c4ae2 Mon Sep 17 00:00:00 2001
From: Christian Muehlhaeuser <muesli@gmail.com>
Date: Sun, 9 Dec 2012 06:51:53 +0100
Subject: [PATCH] * Compile fix for older liblastfms.

---
 src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp b/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp
index e0ff6df73..8dea48136 100644
--- a/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp
+++ b/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp
@@ -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\">" );