X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fprotocols%2Flegacy%2Flegacypeer.cpp;h=51c364c5d0b606f49436a439c5882a3456b4c657;hb=45645a28bdc5b6c1052b3e4cebf8cc80832d205a;hp=027c3333517ebb9ce76950734297c54c3f5d55f6;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/protocols/legacy/legacypeer.cpp b/src/common/protocols/legacy/legacypeer.cpp index 027c3333..51c364c5 100644 --- a/src/common/protocols/legacy/legacypeer.cpp +++ b/src/common/protocols/legacy/legacypeer.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -394,8 +394,8 @@ void LegacyPeer::handlePackedFunc(const QVariant& packedFunc) qWarning() << Q_FUNC_INFO << "Received empty RPC call!"; return; } - QByteArray slotName = params.takeFirst().toByteArray(); - handle(Protocol::RpcCall(slotName, params)); + QByteArray signalName = params.takeFirst().toByteArray(); + handle(Protocol::RpcCall(signalName, params)); break; } case InitRequest: { @@ -457,7 +457,7 @@ void LegacyPeer::dispatch(const Protocol::SyncMessage& msg) void LegacyPeer::dispatch(const Protocol::RpcCall& msg) { - dispatchPackedFunc(QVariantList() << (qint16)RpcCall << msg.slotName << msg.params); + dispatchPackedFunc(QVariantList() << (qint16)RpcCall << msg.signalName << msg.params); } void LegacyPeer::dispatch(const Protocol::InitRequest& msg)