mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-06 22:24:04 +01:00
Remove domainname from mDNS service name.
This commit is contained in:
parent
315fcb05c4
commit
ebd2b1ecba
@ -92,8 +92,7 @@ void NetworkRemote::StartServer() {
|
||||
qLog(Info) << "Listening on port " << port_;
|
||||
|
||||
if (Zeroconf::GetZeroconf()) {
|
||||
QString name = QString("Clementine on %1 (%2)").arg(QHostInfo::localHostName())
|
||||
.arg(QHostInfo::localDomainName());
|
||||
QString name = QString("Clementine on %1").arg(QHostInfo::localHostName());
|
||||
Zeroconf::GetZeroconf()->Publish(
|
||||
"local", "_clementine._tcp", name, port_);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user