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

« back to all changes in this revision

Viewing changes to src/core/stylesheetloader.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:
16
16
*/
17
17
 
18
18
#include "stylesheetloader.h"
 
19
#include "core/logging.h"
19
20
 
20
21
#include <QtDebug>
21
22
#include <QFile>
38
39
  // Load the file
39
40
  QFile file(filename);
40
41
  if (!file.open(QIODevice::ReadOnly)) {
41
 
    qWarning() << __PRETTY_FUNCTION__ << "error opening" << filename;
 
42
    qLog(Warning) << "error opening" << filename;
42
43
    return;
43
44
  }
44
45
  QString contents(file.readAll());