mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-23 08:30:31 +00:00
Improve reliability of mDNS discovery
This commit is contained in:
1 parent
c6fd5cbbce
commit
1640bed7a5
2 files changed
+30
-14
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user