Make QSvgVisitor traversal iterative
Change the implementation to use an iterative approach instead of
recursion to avoid stack overflows when a deeply nested SVG file
is used.
Fixes: QTBUG-150983
Pick-to: 6.12
Change-Id: I3ed103cdc95fdfca31349f1c8b39e8411aa086b8
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | b3702f7933a86e803cc71276ed32f614886f59f1 |
| parent | bd4d2dd8912d4229dc4608cda332c42c2d061315 |
| author | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| committer | Hatem ElKharashy <hatem.elkharashy@qt.io> |
| commit time | Fri, 9 Oct 2026 08:18:25 +0000 |