diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2014-09-20 08:23:03 +0200 |
---|---|---|
committer | Kurt Pattyn <pattyn.kurt@gmail.com> | 2014-10-15 17:15:19 +0200 |
commit | 0854eda408de542047a0ef38c37953719a8f9fde (patch) | |
tree | ce25adf2354c9accd250f8611d9d5af6ab9e7216 | |
parent | 4c7611e7309f21e8a1dfa9ddcd84d91cd979519c (diff) | |
download | qtwebsockets-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>
-rw-r--r-- | src/websockets/qwebsocket_p.cpp | 1 |
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, |