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

« back to all changes in this revision

Viewing changes to tests/songplaylistitem_test.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:
38
38
    absolute_file_name_ = QFileInfo(temp_file_.fileName()).absoluteFilePath();
39
39
 
40
40
    song_.Init("Title", "Artist", "Album", 123);
41
 
    song_.set_filename(absolute_file_name_);
 
41
    song_.set_url(QUrl::fromLocalFile(absolute_file_name_));
42
42
 
43
43
    item_.reset(new SongPlaylistItem(song_));
44
44