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>
commit95ca4328935e43c5acfdfb0af70cfc12cf30c301
parent61296df272784951b5dbb31394f98c42ebf15a13
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeTue, 30 Jun 2026 09:09:23 +0000