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

« back to all changes in this revision

Viewing changes to src/songinfo/ultimatelyricsreader.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 "ultimatelyricsprovider.h"
19
19
#include "ultimatelyricsreader.h"
 
20
#include "core/logging.h"
20
21
 
21
22
#include <QCoreApplication>
22
23
#include <QFile>
30
31
QList<SongInfoProvider*> UltimateLyricsReader::Parse(const QString& filename) const {
31
32
  QFile file(filename);
32
33
  if (!file.open(QIODevice::ReadOnly)) {
33
 
    qWarning() << "Error opening" << filename;
 
34
    qLog(Warning) << "Error opening" << filename;
34
35
    return QList<SongInfoProvider*>();
35
36
  }
36
37