diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2015-12-07 17:20:09 +0300 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-12-07 15:34:19 +0000 |
commit | b1438f7ec28c72abfe0de6d2509f31fab8ddb51f (patch) | |
tree | 9860567012e8d49195c6d067520d1a953939cbc4 /src/plugins/iconengines | |
parent | 206c70011ca379c49a4e9a54cab5c7f2a1889876 (diff) | |
download | qtsvg-b1438f7ec28c72abfe0de6d2509f31fab8ddb51f.tar.gz |
QSvgIconEngine: fix build with QT_NO_COMPRESS
Change-Id: Ic899f7ac59f11d84d76101f8221051a7d94fdd9a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/plugins/iconengines')
-rw-r--r-- | src/plugins/iconengines/svgiconengine/qsvgiconengine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/iconengines/svgiconengine/qsvgiconengine.cpp b/src/plugins/iconengines/svgiconengine/qsvgiconengine.cpp index 0ccf551..2ae711f 100644 --- a/src/plugins/iconengines/svgiconengine/qsvgiconengine.cpp +++ b/src/plugins/iconengines/svgiconengine/qsvgiconengine.cpp @@ -201,8 +201,9 @@ void QSvgIconEngine::addFile(const QString &fileName, const QSize &, if (abs.endsWith(QLatin1String(".svg"), Qt::CaseInsensitive) #ifndef QT_NO_COMPRESS || abs.endsWith(QLatin1String(".svgz"), Qt::CaseInsensitive) - || abs.endsWith(QLatin1String(".svg.gz"), Qt::CaseInsensitive)) + || abs.endsWith(QLatin1String(".svg.gz"), Qt::CaseInsensitive) #endif + ) { QSvgRenderer renderer(abs); if (renderer.isValid()) { |