Set the source properly for tracks from last.fm radio

Fixes issue #62
This commit is contained in:
David Sansome 2010-03-07 23:39:28 +00:00
parent 6f2119bce0
commit 7d0bc4830f
1 changed files with 1 additions and 0 deletions

View File

@ -596,6 +596,7 @@ void LastFMService::FetchMoreTracksFinished() {
t.setArtist(q["creator"].text());
t.setAlbum(q["album"].text());
t.setDuration(q["duration"].text().toInt() / 1000);
t.setSource(lastfm::Track::LastFmRadio);
const QString& image = q["image"].text();
if (!image.isEmpty()) {
FetchImage(t, image);