summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-08-12 21:13:16 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-08-12 21:13:16 +0200
commit2d28e6dc8cc19e8c68f89dd76878730ff0be4035 (patch)
tree94ed358270b0a432960bd6c4ee5aae0c0e5f1085
parent0dfb07af7bfb96d575db5fd4e3aa1f5bef94b513 (diff)
downloadqtwebsockets-2d28e6dc8cc19e8c68f89dd76878730ff0be4035.tar.gz
Commented out unused aboutToClose signal connection
-rw-r--r--source/websocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/websocket.cpp b/source/websocket.cpp
index 5915d2b..689cfc6 100644
--- a/source/websocket.cpp
+++ b/source/websocket.cpp
@@ -358,7 +358,7 @@ void WebSocket::makeConnections(const QTcpSocket *pTcpSocket)
connect(pTcpSocket, SIGNAL(error(QAbstractSocket::SocketError)), this, SIGNAL(error(QAbstractSocket::SocketError)));
connect(pTcpSocket, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *)), this, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *)));
connect(pTcpSocket, SIGNAL(readChannelFinished()), this, SIGNAL(readChannelFinished()));
- connect(pTcpSocket, SIGNAL(aboutToClose()), this, SIGNAL(aboutToClose()));
+ //connect(pTcpSocket, SIGNAL(aboutToClose()), this, SIGNAL(aboutToClose()));
//connect(pTcpSocket, SIGNAL(bytesWritten(qint64)), this, SIGNAL(bytesWritten(qint64)));
//catch signals
@@ -382,7 +382,7 @@ void WebSocket::releaseConnections(const QTcpSocket *pTcpSocket)
disconnect(pTcpSocket, SIGNAL(error(QAbstractSocket::SocketError)), this, SIGNAL(error(QAbstractSocket::SocketError)));
disconnect(pTcpSocket, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *)), this, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *)));
disconnect(pTcpSocket, SIGNAL(readChannelFinished()), this, SIGNAL(readChannelFinished()));
- disconnect(pTcpSocket, SIGNAL(aboutToClose()), this, SIGNAL(aboutToClose()));
+ //disconnect(pTcpSocket, SIGNAL(aboutToClose()), this, SIGNAL(aboutToClose()));
//disconnect(pTcpSocket, SIGNAL(bytesWritten(qint64)), this, SIGNAL(bytesWritten(qint64)));
//catched signals