Call QSvgHandler::document() instead of QSvgNode::document()
...where easily possible. The former has constant runtime whereas the
latter traverses the tree of QSvgNodes and might be replaced entirely in
a future change.
Pick-to: 6.12
Change-Id: Icec4e7afa596e2707f6367a6bccc363faae94b65
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
| commit | 84ccb052ce6da0d8b062c7a1c7846c469366af04 |
| parent | 516c750db4ef0e48fc1435fb6d13da1065a8837d |
| author | Robert Löhning <robert.loehning@qt.io> |
| committer | Robert Löhning <robert.loehning@qt.io> |
| commit time | Thu, 18 Jun 2026 12:36:01 +0000 |