mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-26 12:53:41 +01:00
* Fixed duplicating connections in DNSResolver.
This commit is contained in:
parent
b32560a6f9
commit
9f6b367bfb
@ -327,12 +327,13 @@ DNSResolver::DNSResolver()
|
|||||||
m_dnsShared->addInterface(QHostAddress::Any);
|
m_dnsShared->addInterface(QHostAddress::Any);
|
||||||
m_dnsShared->addInterface(QHostAddress::AnyIPv6);
|
m_dnsShared->addInterface(QHostAddress::AnyIPv6);
|
||||||
m_dnsSharedRequest = new JDnsSharedRequest(m_dnsShared);
|
m_dnsSharedRequest = new JDnsSharedRequest(m_dnsShared);
|
||||||
|
|
||||||
|
connect(m_dnsSharedRequest, SIGNAL(resultsReady()), SLOT(resultsReady()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
DNSResolver::resolve( QString &host, QString type )
|
DNSResolver::resolve( QString &host, QString type )
|
||||||
{
|
{
|
||||||
connect(m_dnsSharedRequest, SIGNAL(resultsReady()), SLOT(resultsReady()));
|
|
||||||
if( type == "SRV" )
|
if( type == "SRV" )
|
||||||
{
|
{
|
||||||
// For the moment, assume we are looking for XMPP...
|
// For the moment, assume we are looking for XMPP...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user