diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/svg/qsvghandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index e935649..0468bbe 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -3214,7 +3214,7 @@ static bool parseStyleNode(QSvgNode *parent, Q_UNUSED(handler) #else const QStringRef type = attributes.value(QLatin1String("type")); - if (type.compare(QLatin1String("text/css"), Qt::CaseInsensitive) == 0) + if (type.compare(QLatin1String("text/css"), Qt::CaseInsensitive) == 0 || type.isNull()) handler->setInStyle(true); #endif |