more cleanup for PacketReceiver error message

This commit is contained in:
Stephen Birarda 2015-07-14 17:15:18 -07:00
parent aa696ca8d3
commit 5163354dd7

View file

@ -102,7 +102,7 @@ QMetaMethod PacketReceiver::matchingMethodForListener(PacketType::Value type, QO
if (methodIndex < 0) {
qDebug() << "PacketReceiver::registerListener expected a slot with one of the following signatures:"
<< possibleSignatures.toList() << "- but such a slot was not found."
<< "Could not complete listener registration for"
<< "Could not complete listener registration for type"
<< type << "-" << nameForPacketType(type);
}
@ -122,7 +122,7 @@ void PacketReceiver::registerVerifiedListener(PacketType::Value type, QObject* o
_packetListenerLock.lock();
if (_packetListenerMap.contains(type)) {
qDebug() << "Warning: Registering a packet listener for packet type " << type
qDebug() << "Warning: Registering a packet listener for packet type" << type
<< "that will remove a previously registered listener";
}