fix QTimer connection to nodeList

This commit is contained in:
Stephen Birarda 2015-07-09 16:01:41 -07:00
parent 408ecb9735
commit a4f1145f06

View file

@ -396,7 +396,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
// setup a timer for domain-server check ins
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);
// put the NodeList and datagram processing on the node thread