summaryrefslogtreecommitdiff
path: root/src/svg/qsvghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r--src/svg/qsvghandler.cpp6
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: