QSvgHandler: don't set m_style = 0 in init()


It's not needed: m_style is a smart pointer with a default constructor
that sets itself to nullptr, and init() is only ever called from
QSvgHandler constructors.

And it would trigger -Wzero-as-nullptr-constant, if something in the
build system wouldn't have suppressed that warning.

A drop on the hot stone (QtSvg is still full of 0 instead of nullptr),
but one that's needed for a follow-up QSvgRefCounter change.

Amends the start of the public history.

Pick-to: 6.11 6.8
Change-Id: I953aad30621b9c1a14b0059fd29f6c2eddd34364
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit6369d1b2d4ed69ef42a7cc9f18370b6199d275f2
parent8bd47922bb1f0fddc730a49076b1ef3b1234f446
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 12 May 2026 16:53:40 +0000