mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:37:19 +02:00
Rename NLs nodeUpdated signal to nodeSocketUpdated
This commit is contained in:
parent
d938e518a0
commit
713be9fd73
3 changed files with 3 additions and 3 deletions
|
@ -609,7 +609,7 @@ SharedNodePointer LimitedNodeList::addOrUpdateNode(const QUuid& uuid, NodeType_t
|
||||||
// Signal when a socket changes, so we can start the hole punch over.
|
// Signal when a socket changes, so we can start the hole punch over.
|
||||||
auto weakPtr = newNodePointer.toWeakRef(); // We don't want the lambda to hold a strong ref
|
auto weakPtr = newNodePointer.toWeakRef(); // We don't want the lambda to hold a strong ref
|
||||||
connect(newNodePointer.data(), &NetworkPeer::socketUpdated, this, [=] {
|
connect(newNodePointer.data(), &NetworkPeer::socketUpdated, this, [=] {
|
||||||
emit nodeUpdated(weakPtr);
|
emit nodeSocketUpdated(weakPtr);
|
||||||
});
|
});
|
||||||
|
|
||||||
return newNodePointer;
|
return newNodePointer;
|
||||||
|
|
|
@ -250,7 +250,7 @@ signals:
|
||||||
|
|
||||||
void uuidChanged(const QUuid& ownerUUID, const QUuid& oldUUID);
|
void uuidChanged(const QUuid& ownerUUID, const QUuid& oldUUID);
|
||||||
void nodeAdded(SharedNodePointer);
|
void nodeAdded(SharedNodePointer);
|
||||||
void nodeUpdated(SharedNodePointer);
|
void nodeSocketUpdated(SharedNodePointer);
|
||||||
void nodeKilled(SharedNodePointer);
|
void nodeKilled(SharedNodePointer);
|
||||||
void nodeActivated(SharedNodePointer);
|
void nodeActivated(SharedNodePointer);
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ NodeList::NodeList(char newOwnerType, unsigned short socketListenPort, unsigned
|
||||||
|
|
||||||
// anytime we get a new node we will want to attempt to punch to it
|
// anytime we get a new node we will want to attempt to punch to it
|
||||||
connect(this, &LimitedNodeList::nodeAdded, this, &NodeList::startNodeHolePunch);
|
connect(this, &LimitedNodeList::nodeAdded, this, &NodeList::startNodeHolePunch);
|
||||||
connect(this, &LimitedNodeList::nodeUpdated, this, &NodeList::startNodeHolePunch);
|
connect(this, &LimitedNodeList::nodeSocketUpdated, this, &NodeList::startNodeHolePunch);
|
||||||
|
|
||||||
// anytime we get a new node we may need to re-send our set of ignored node IDs to it
|
// anytime we get a new node we may need to re-send our set of ignored node IDs to it
|
||||||
connect(this, &LimitedNodeList::nodeActivated, this, &NodeList::maybeSendIgnoreSetToNode);
|
connect(this, &LimitedNodeList::nodeActivated, this, &NodeList::maybeSendIgnoreSetToNode);
|
||||||
|
|
Loading…
Reference in a new issue