Fix double error setting, which overrode correct value.
Change-Id: I3bc992b8b41f305a01b80bca16346e18ac4d7833 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
b719bd498e
commit
007476ab19
@ -454,7 +454,6 @@ bool QNativeSocketEnginePrivate::nativeConnect(const QHostAddress &addr, quint16
|
||||
break;
|
||||
case EAGAIN:
|
||||
setError(QAbstractSocket::UnfinishedSocketOperationError, InvalidSocketErrorString);
|
||||
setError(QAbstractSocket::SocketResourceError, ResourceErrorString);
|
||||
break;
|
||||
case EACCES:
|
||||
case EPERM:
|
||||
|
Loading…
Reference in New Issue
Block a user