Fix some WS errors
Fix whitespace errors in qabstractsocket.cpp and qlocalsocket_win.cpp Change-Id: Ifd0cb86a8e63a1d0ef8a5846a7f893acf9f63542 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
cc90d4a563
commit
7b507c581c
@ -195,7 +195,7 @@
|
||||
\fn void QAbstractSocket::disconnected()
|
||||
|
||||
This signal is emitted when the socket has been disconnected.
|
||||
|
||||
|
||||
\warning If you need to delete the sender() of this signal in a slot connected
|
||||
to it, use the \l{QObject::deleteLater()}{deleteLater()} function.
|
||||
|
||||
@ -639,7 +639,7 @@ bool QAbstractSocketPrivate::initSocketLayer(QAbstractSocket::NetworkLayerProtoc
|
||||
socketEngine->errorString().toLatin1().constData());
|
||||
#endif
|
||||
socketError = socketEngine->error();
|
||||
q->setErrorString(socketEngine->errorString());
|
||||
q->setErrorString(socketEngine->errorString());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ void QLocalSocketPrivate::_q_winError(ulong windowsError, const QString &functio
|
||||
Q_Q(QLocalSocket);
|
||||
QLocalSocket::LocalSocketState currentState = state;
|
||||
|
||||
// If the connectToServer fails due to WaitNamedPipe() time-out, assume ConnectionError
|
||||
// If the connectToServer fails due to WaitNamedPipe() time-out, assume ConnectionError
|
||||
if (state == QLocalSocket::ConnectingState && windowsError == ERROR_SEM_TIMEOUT)
|
||||
windowsError = ERROR_NO_DATA;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user