1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-04 16:12:24 +02:00

Did not mean to commit that :)

This commit is contained in:
Leo Franchi 2012-09-21 18:42:44 -04:00
parent 2da5e70ebe
commit bed69b4838

View File

@ -107,12 +107,12 @@ public slots:
.toAscii();
m_sock.writeDatagram( advert.data(), advert.size(),
QHostAddress::Broadcast, ZCONF_PORT );
// advert = QString( "TOMAHAWKADVERT:%1:%2" )
// .arg( m_port )
// .arg( Database::instance()->impl()->dbid() )
// .toAscii();
// m_sock.writeDatagram( advert.data(), advert.size(),
// QHostAddress::Broadcast, ZCONF_PORT );
advert = QString( "TOMAHAWKADVERT:%1:%2" )
.arg( m_port )
.arg( Database::instance()->impl()->dbid() )
.toAscii();
m_sock.writeDatagram( advert.data(), advert.size(),
QHostAddress::Broadcast, ZCONF_PORT );
}
signals: