summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2014-09-20 08:23:03 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2014-10-15 17:15:19 +0200
commit0854eda408de542047a0ef38c37953719a8f9fde (patch)
treece25adf2354c9accd250f8611d9d5af6ab9e7216 /src
parent4c7611e7309f21e8a1dfa9ddcd84d91cd979519c (diff)
downloadqtwebsockets-0854eda408de542047a0ef38c37953719a8f9fde.tar.gz
Also forward the bytesWritten(qint64) signal
The signal bytesWritten(qint64) is part of the public API and should be emitted. Seems it was just forgotten. Change-Id: I85a56c22581c6bd3ecc504add34aeeabc76f4d2a Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/websockets/qwebsocket_p.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket_p.cpp b/src/websockets/qwebsocket_p.cpp
index f4f7ea4..b9d37a1 100644
--- a/src/websockets/qwebsocket_p.cpp
+++ b/src/websockets/qwebsocket_p.cpp
@@ -541,6 +541,7 @@ void QWebSocketPrivate::makeConnections(const QTcpSocket *pTcpSocket)
QObject::connect(pTcpSocket, &QAbstractSocket::readChannelFinished, q,
&QWebSocket::readChannelFinished);
QObject::connect(pTcpSocket, &QAbstractSocket::aboutToClose, q, &QWebSocket::aboutToClose);
+ QObject::connect(pTcpSocket, &QAbstractSocket::bytesWritten, q, &QWebSocket::bytesWritten);
//catch signals
QObjectPrivate::connect(pTcpSocket, &QAbstractSocket::stateChanged, this,