~carlos-mazieri/ubuntu-filemanager-app/model

« back to all changes in this revision

Viewing changes to folderlistmodel/imageprovider.cpp

  • Committer: carlos-mazieri
  • Date: 2014-02-07 13:22:44 UTC
  • Revision ID: carlos.mazieri@gmail.com-20140207132244-nk0x11g7tl2hhvch
removed most of Qt4 code between QT_VERSION macros
changed IsSelecteRole role to IsSelectedRole
enclosed QBrush and QColor includes in macro REGRESSION_TEST_FOLDERLISTMODEL

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#include <QtGlobal>
51
51
#include <QPainter>
52
52
 
53
 
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
54
 
 
55
53
 
56
54
CoverArtImageProvider::CoverArtImageProvider() : QQuickImageProvider(QQuickImageProvider::Image) {}
57
55
 
92
90
    return img;
93
91
}
94
92
 
95
 
#endif
 
93