Set an appropriate error if handshake fails


In the event of a failed handshake we set an error to notify the user.
To be able to signal consecutively failing connections, we need to reset
the error state after a disconnect, so if the new connection fails with
the same error, the error signal is emitted again.

Pick-to: 6.11
Change-Id: I0e6cca13c4dc7147ad9949bf0059273750c0d3de
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commita83cc52927dd41c82f73870af548a580cb48eb03
parent9b79919a9563833c59f056c8117222995e2925be
authorTimon Sassor <timon.sassor@governikus.de>
committerLars Schmertmann <Lars.Schmertmann@governikus.de>
commit timeTue, 19 May 2026 09:01:39 +0000