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

« back to all changes in this revision

Viewing changes to src/core/deletefiles.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:
22
22
#include <QStringList>
23
23
#include <QTimer>
24
24
#include <QThread>
 
25
#include <QUrl>
25
26
 
26
27
const int DeleteFiles::kBatchSize = 50;
27
28
 
60
61
  SongList songs;
61
62
  foreach (const QString& filename, filenames) {
62
63
    Song song;
63
 
    song.set_filename(filename);
 
64
    song.set_url(QUrl::fromLocalFile(filename));
64
65
    songs << song;
65
66
  }
66
67