mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 20:34:20 +02:00
don't print ^a to qDebug for unassigned node type
This commit is contained in:
parent
4bba4fc387
commit
70c96e496f
1 changed files with 6 additions and 1 deletions
|
@ -149,7 +149,12 @@ QDataStream& operator>>(QDataStream& in, Node& node) {
|
|||
}
|
||||
|
||||
QDebug operator<<(QDebug debug, const Node &node) {
|
||||
debug.nospace() << NodeType::getNodeTypeName(node.getType()) << " (" << node.getType() << ")";
|
||||
debug.nospace() << NodeType::getNodeTypeName(node.getType());
|
||||
if (node.getType() == NodeType::Unassigned) {
|
||||
debug.nospace() << " (1)";
|
||||
} else {
|
||||
debug.nospace() << " (" << node.getType() << ")";
|
||||
}
|
||||
debug << " " << node.getUUID().toString().toLocal8Bit().constData() << " ";
|
||||
debug.nospace() << node.getPublicSocket() << "/" << node.getLocalSocket();
|
||||
return debug.nospace();
|
||||
|
|
Loading…
Reference in a new issue