mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* Reset ControlConnection's id when we received the first packet.
This commit is contained in:
@@ -267,6 +267,8 @@ Servent::readyRead()
|
|||||||
|
|
||||||
if( !nodeid.isEmpty() && cc != 0 ) // only control connections send nodeid
|
if( !nodeid.isEmpty() && cc != 0 ) // 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;
|
||||||
|
Reference in New Issue
Block a user