mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +02:00
fix connection to start stats sending for assignments
This commit is contained in:
parent
a529c7cfc5
commit
a6509f5ea7
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeTy
|
|||
_domainServerTimer.start();
|
||||
|
||||
// start sending stats packet once we connect to the domain
|
||||
connect(&nodeList->getDomainHandler(), SIGNAL(connectedToDomain(const QString&)), &_statsTimer, SLOT(start()));
|
||||
connect(&nodeList->getDomainHandler(), &DomainHandler::connectedToDomain,
|
||||
&_statsTimer, static_cast<void (QTimer::*)()>(&QTimer::start));
|
||||
|
||||
// stop sending stats if we disconnect
|
||||
connect(&nodeList->getDomainHandler(), &DomainHandler::disconnectedFromDomain, &_statsTimer, &QTimer::stop);
|
||||
|
|
Loading…
Reference in a new issue