projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle the readyRead() signal in RemotePeer instead of LegacyPeer
[quassel.git]
/
src
/
common
/
protocols
/
legacy
/
legacypeer.cpp
diff --git
a/src/common/protocols/legacy/legacypeer.cpp
b/src/common/protocols/legacy/legacypeer.cpp
index
d45eb46
..
e2890cc
100644
(file)
--- a/
src/common/protocols/legacy/legacypeer.cpp
+++ b/
src/common/protocols/legacy/legacypeer.cpp
@@
-38,8
+38,6
@@
LegacyPeer::LegacyPeer(::AuthHandler *authHandler, QTcpSocket *socket, QObject *
{
_stream.setDevice(socket);
_stream.setVersion(QDataStream::Qt_4_2);
{
_stream.setDevice(socket);
_stream.setVersion(QDataStream::Qt_4_2);
-
- connect(socket, SIGNAL(readyRead()), SLOT(socketDataAvailable()));
}
}
@@
-58,7
+56,7
@@
void LegacyPeer::setSignalProxy(::SignalProxy *proxy)
}
}
-void LegacyPeer::
s
ocketDataAvailable()
+void LegacyPeer::
onS
ocketDataAvailable()
{
QVariant item;
while (readSocketData(item)) {
{
QVariant item;
while (readSocketData(item)) {