mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Did not mean to commit that :)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user