summaryrefslogtreecommitdiff
path: root/src/svg/qsvghandler.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2017-11-15 09:11:24 +0100
committerLiang Qi <liang.qi@qt.io>2017-11-15 09:11:25 +0100
commit984ba6977201f8fbd94d44a2b67519e1faf458cc (patch)
tree4ee9af0e9014240ecd9c25079fbdfcbdcda7a4f9 /src/svg/qsvghandler.cpp
parentf1ba95141c54b452edd737e9adb3461f303eb850 (diff)
parent18a2adad907523ea31251ff0b62e3321241a40fa (diff)
downloadqtsvg-984ba6977201f8fbd94d44a2b67519e1faf458cc.tar.gz
Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-rc3v5.10.0-rc2v5.10.0-rc1v5.10.05.10.0
Change-Id: I2c5f1f592e2141b93fa274124a96f2a63b83acdb
Diffstat (limited to 'src/svg/qsvghandler.cpp')
-rw-r--r--src/svg/qsvghandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp
index f6b4320..6c0e742 100644
--- a/src/svg/qsvghandler.cpp
+++ b/src/svg/qsvghandler.cpp
@@ -3338,6 +3338,8 @@ static QSvgNode *createUseNode(QSvgNode *parent,
if (group) {
QSvgNode *link = group->scopeNode(linkId);
if (link) {
+ if (parent->isDescendantOf(link))
+ qCWarning(lcSvgHandler, "link #%s is recursive!", qPrintable(linkId));
QPointF pt;
if (!xStr.isNull() || !yStr.isNull()) {
QSvgHandler::LengthType type;