Changeset View
Changeset View
Standalone View
Standalone View
src/SvgTinter.cpp
Show All 33 Lines | 32 | { | |||
---|---|---|---|---|---|
34 | m_firstRun = false; | 34 | m_firstRun = false; | ||
35 | } | 35 | } | ||
36 | 36 | | |||
37 | 37 | | |||
38 | SvgTinter::~SvgTinter() | 38 | SvgTinter::~SvgTinter() | ||
39 | {} | 39 | {} | ||
40 | 40 | | |||
41 | QByteArray | 41 | QByteArray | ||
42 | SvgTinter::tint( const QString &filename) | 42 | SvgTinter::tint( const QString &filename ) | ||
43 | { | 43 | { | ||
44 | QFile file( filename ); | 44 | QFile file( filename ); | ||
45 | if ( !file.open( QIODevice::ReadOnly ) ) | 45 | if ( !file.open( QIODevice::ReadOnly ) ) | ||
46 | { | 46 | { | ||
47 | error() << "Unable to open file: " << filename; | 47 | error() << "Unable to open file: " << filename; | ||
48 | return QByteArray(); | 48 | return QByteArray(); | ||
49 | } | 49 | } | ||
50 | 50 | | |||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |