OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bc21c
)
optimize QSvgTinyDocument::boundsOnElement()
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 8 Aug 2020 18:59:30 +0000
(21:59 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sat, 8 Aug 2020 18:59:30 +0000
(21:59 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/svg/qsvgtinydocument.cpp
patch
|
blob
|
history
diff --git
a/src/svg/qsvgtinydocument.cpp
b/src/svg/qsvgtinydocument.cpp
index
2dc22e8
..
f13cf6a
100644
(file)
--- a/
src/svg/qsvgtinydocument.cpp
+++ b/
src/svg/qsvgtinydocument.cpp
@@
-404,7
+404,7
@@
QRectF QSvgTinyDocument::boundsOnElement(const QString &id) const
{
const QSvgNode *node = scopeNode(id);
if (!node)
-
node = this
;
+
return transformedBounds()
;
return node->transformedBounds();
}