summaryrefslogtreecommitdiff
path: root/src/plugins/iconengines
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2015-12-07 17:20:09 +0300
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-12-07 15:34:19 +0000
commitb1438f7ec28c72abfe0de6d2509f31fab8ddb51f (patch)
tree9860567012e8d49195c6d067520d1a953939cbc4 /src/plugins/iconengines
parent206c70011ca379c49a4e9a54cab5c7f2a1889876 (diff)
downloadqtsvg-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.cpp3
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()) {