mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
more cleanup for PacketReceiver error message
This commit is contained in:
parent
aa696ca8d3
commit
5163354dd7
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue