diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-02-02 03:04:29 +0100 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-02-02 03:04:30 +0100 |
commit | f9d909ceefe6fd693c42ddf3d898ae5c6c7f7f19 (patch) | |
tree | 63d50fd1599ff34fc406f3a788d9a8fe1319e2de /src/svg | |
parent | 2ae3c52fc061f574c9582bf58963fb3996724fbf (diff) | |
parent | 74f7566527c6ed3c47fac873e90942f2834d248f (diff) | |
download | qtsvg-f9d909ceefe6fd693c42ddf3d898ae5c6c7f7f19.tar.gz |
Merge remote-tracking branch 'origin/5.12' into 5.13
Change-Id: I4e35c67936df5609aa2329eab07ec2b126837af2
Diffstat (limited to 'src/svg')
-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 |