Fix MDNSBrower - if timeout during host resolvment occurs

This commit is contained in:
LordGrey 2023-09-02 22:23:35 +02:00
parent 1b0d8a56e9
commit 9d786ef3be

View File

@ -182,6 +182,7 @@ bool MdnsBrowser::resolveAddress(Logger* log, const QString& hostname, QHostAddr
}
else
{
QObject::disconnect(&MdnsBrowser::getInstance(), &MdnsBrowser::addressResolved, nullptr, nullptr);
Error(log, "Resolved mDNS hostname [%s] timed out", QSTRING_CSTR(hostname));
}
}