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

* Fix broken duplicate connection check.

This commit is contained in:
Christian Muehlhaeuser 2011-02-13 06:49:02 +01:00
parent 312537fc8a
commit 6f7c9f4bc8

View File

@ -265,10 +265,8 @@ Servent::readyRead()
qDebug() << m; qDebug() << m;
if( !nodeid.isEmpty() && cc != 0 ) // only control connections send nodeid if( !nodeid.isEmpty() ) // only control connections send nodeid
{ {
cc->setId( nodeid );
foreach( ControlConnection* con, m_controlconnections ) foreach( ControlConnection* con, m_controlconnections )
{ {
qDebug() << con->socket() << sock; qDebug() << con->socket() << sock;