QSvgNode: Remove redundant checks for Tiny 1.2 features
In all these functions, the following .isEmpty() gives the same result
as the return based on the options, because the respective IDs will only
ever be set if not only Tiny 1.2 features are enabled. In addition, the
needed call to document() may be more expensive than .isEmpty().
Pick-to: 6.12 6.11
Change-Id: Ic51d7784fa4d62aa33748220ff74b70bffdb8bef
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
| commit | 95ca4328935e43c5acfdfb0af70cfc12cf30c301 |
| parent | 61296df272784951b5dbb31394f98c42ebf15a13 |
| author | Robert Löhning <robert.loehning@qt.io> |
| committer | Robert Löhning <robert.loehning@qt.io> |
| commit time | Tue, 30 Jun 2026 09:09:23 +0000 |