From 6f82edb27a2ed2c77b36591e492d8aa2671344ef Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Fri, 24 Jan 2014 23:01:12 +0100 Subject: [PATCH] Make LegacyPeer::writeSocketData() private No longer used outside of this class. --- src/common/protocols/legacy/legacypeer.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/protocols/legacy/legacypeer.h b/src/common/protocols/legacy/legacypeer.h index 1d09dd6b..3bc93d31 100644 --- a/src/common/protocols/legacy/legacypeer.h +++ b/src/common/protocols/legacy/legacypeer.h @@ -66,9 +66,6 @@ public: void dispatch(const Protocol::HeartBeat &msg); void dispatch(const Protocol::HeartBeatReply &msg); - // FIXME: this is only used for the auth phase and should be replaced by something more generic - void writeSocketData(const QVariant &item); - signals: void protocolError(const QString &errorString); @@ -80,6 +77,7 @@ protected slots: private: bool readSocketData(QVariant &item); + void writeSocketData(const QVariant &item); void handleHandshakeMessage(const QVariant &msg); void handlePackedFunc(const QVariant &packedFunc); void dispatchPackedFunc(const QVariantList &packedFunc); -- 2.20.1