Fix double error setting, which overrode correct value.

Change-Id: I3bc992b8b41f305a01b80bca16346e18ac4d7833
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
Jonas M. Gastal 2012-06-12 21:27:21 -03:00 committed by Qt by Nokia
parent b719bd498e
commit 007476ab19

View File

@ -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: