Improve reliability of mDNS discovery
This commit is contained in:
parent
c6fd5cbbce
commit
1640bed7a5
2 changed files with 30 additions and 14 deletions
|
|
@ -269,7 +269,7 @@ void ComputerManager::startPolling()
|
|||
this, [this](const QMdnsEngine::Service& service) {
|
||||
qInfo() << "Discovered mDNS host:" << service.hostname();
|
||||
|
||||
MdnsPendingComputer* pendingComputer = new MdnsPendingComputer(&m_MdnsServer, &m_MdnsCache, service);
|
||||
MdnsPendingComputer* pendingComputer = new MdnsPendingComputer(&m_MdnsServer, service);
|
||||
connect(pendingComputer, &MdnsPendingComputer::resolvedHost,
|
||||
this, &ComputerManager::handleMdnsServiceResolved);
|
||||
m_PendingResolution.append(pendingComputer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue