1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-26 04:43:06 +01:00

* Fixed duplicating connections in DNSResolver.

This commit is contained in:
Christian Muehlhaeuser 2011-02-13 00:17:17 +01:00
parent b32560a6f9
commit 9f6b367bfb

View File

@ -327,12 +327,13 @@ DNSResolver::DNSResolver()
m_dnsShared->addInterface(QHostAddress::Any);
m_dnsShared->addInterface(QHostAddress::AnyIPv6);
m_dnsSharedRequest = new JDnsSharedRequest(m_dnsShared);
connect(m_dnsSharedRequest, SIGNAL(resultsReady()), SLOT(resultsReady()));
}
void
DNSResolver::resolve( QString &host, QString type )
{
connect(m_dnsSharedRequest, SIGNAL(resultsReady()), SLOT(resultsReady()));
if( type == "SRV" )
{
// For the moment, assume we are looking for XMPP...