mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 20:56:52 +02:00
fix QTimer connection to nodeList
This commit is contained in:
parent
408ecb9735
commit
a4f1145f06
1 changed files with 12 additions and 12 deletions
|
@ -396,7 +396,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
||||||
|
|
||||||
// setup a timer for domain-server check ins
|
// setup a timer for domain-server check ins
|
||||||
QTimer* domainCheckInTimer = new QTimer(nodeList);
|
QTimer* domainCheckInTimer = new QTimer(nodeList);
|
||||||
connect(domainCheckInTimer, &QTimer::timeout, nodeList, &NodeList::sendDomainServerCheckIn);
|
connect(domainCheckInTimer, &QTimer::timeout, nodeList.data(), &NodeList::sendDomainServerCheckIn);
|
||||||
domainCheckInTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
|
domainCheckInTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
|
||||||
|
|
||||||
// put the NodeList and datagram processing on the node thread
|
// put the NodeList and datagram processing on the node thread
|
||||||
|
|
Loading…
Reference in a new issue