QWebSocketPrivate: disconnect/reconnect from/to destroyed


QWebSocket connects to signals of its internal 'tcp socket', including
the 'destroyed' signal to handle destruction of the socket.
Then it disconnects from these signals at a few points, including when
creating a new socket, by using a wildcard disconnect.

Since a79d5b8d0856, a recent change in qtbase, disconnecting from
the 'destroyed' signal using a wildcard disconnect prints a warning.
Since this was our intended behavior we now disconnect it separately to
be explicit and to avoid the warning.

Fixes: QTBUG-135959
Change-Id: I5bd13b1635d504feace76d201fdb6db65454ddf2
Reviewed-by: Mate Barany <mate.barany@qt.io>
commit0c0f476150e501f311d054c67426b4d2304d2cbd
parent7707d18863dba26df167e2b6f04f60261662889e
authorTimur Pocheptsov <timur.pocheptsov@qt.io>
committerMÃ¥rten Nordheim <marten.nordheim@qt.io>
commit timeFri, 25 Apr 2025 17:14:29 +0200