Fix build break on Qt 5.10 and earlier

This commit is contained in:
Cameron Gutman 2023-07-16 00:13:09 -05:00
parent ce60a146dc
commit 2252abefbf

View file

@ -108,7 +108,7 @@ private:
return;
}
m_Resolver = new QMdnsEngine::Resolver(m_Server.get(), m_Hostname);
m_Resolver = new QMdnsEngine::Resolver(m_Server.data(), m_Hostname);
connect(m_Resolver, &QMdnsEngine::Resolver::resolved,
this, &MdnsPendingComputer::handleResolvedAddress);
QTimer::singleShot(2000, this, &MdnsPendingComputer::handleResolvedTimeout);