~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to src/ui/albumcovermanagerlist.cpp

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "albumcovermanager.h"
19
19
#include "albumcovermanagerlist.h"
 
20
#include "library/librarybackend.h"
20
21
#include "playlist/songmimedata.h"
21
22
 
22
23
#include <boost/scoped_ptr.hpp>
43
44
  // Get URLs from the songs
44
45
  QList<QUrl> urls;
45
46
  foreach (const Song& song, songs) {
46
 
    urls << QUrl::fromLocalFile(song.filename());
 
47
    urls << song.url();
47
48
  }
48
49
 
49
50
  // Get the QAbstractItemModel data so the picture works