diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/svg/qsvghandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index df654e1..c40091f 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -322,6 +322,8 @@ QSvgAttributes::QSvgAttributes(const QXmlStreamAttributes &xmlAttributes, QSvgHa } } } +#else + Q_UNUSED(handler); #endif // QT_NO_CSSPARSER for (int i = 0; i < xmlAttributes.count(); ++i) { @@ -430,6 +432,8 @@ QSvgAttributes::QSvgAttributes(const QXmlStreamAttributes &xmlAttributes, QSvgHa } +#ifndef QT_NO_CSSPARSER + static const char * QSvgStyleSelector_nodeString[] = { "svg", "g", @@ -452,8 +456,6 @@ static const char * QSvgStyleSelector_nodeString[] = { "video" }; -#ifndef QT_NO_CSSPARSER - class QSvgStyleSelector : public QCss::StyleSelector { public: |