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:
parent
b32560a6f9
commit
9f6b367bfb
@ -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...
|
||||
|
Loading…
x
Reference in New Issue
Block a user