mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-30 01:00:13 +02:00
* Fixed duplicating connections in DNSResolver.
This commit is contained in:
@@ -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...
|
||||
|
Reference in New Issue
Block a user