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:
parent
2da5e70ebe
commit
bed69b4838
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user