QSvgNode: enable -Wswitch in appendStyleProperty()


Drop the default: case label that prevents the compiler from warning
about unhandled enumerators in switches (-Wswitch), an essential tool
that makes use of enum switches in production code acceptable in the
first place.

Here, the default case label was used as an "or else" branch, with
actual code in, but thankfully the function contains only the switch,
as it should be, so by replacing break; with return; we can bring the
function into a form in which we can move the code from the default
case label to after the switch.

Amends the start of the public history.

Pick-to: 6.11 6.8
Change-Id: Ie1f2f449ebd9e895b4ba9685075961d7f1468193
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit8b267ff62e22c2dc4e3dadbc600560147fee1038
parent786091a452ad73fff3c1919bfd58c2b10e277220
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 13 May 2026 06:46:47 +0000