Commit a14da6cf authored by Harald Sitter's avatar Harald Sitter 🌈
Browse files

Merge branch 'release/20.04'

parents 951e2f2d a042130e
......@@ -238,8 +238,8 @@ QUrl SMBSlave::checkURL(const QUrl &kurl_) const
QString host = kurl.host();
host.chop(wsdSuffix.size());
const QString dnssd(host + ".local");
auto dnssdHost = QHostInfo::fromName(dnssd);
if (dnssdHost.error() == QHostInfo::NoError) {
auto dnssdHost = KDNSSD::ServiceBrowser::resolveHostName(dnssd);
if (!dnssdHost.isNull()) {
qCDebug(KIO_SMB_LOG) << "Resolved DNSSD name:" << dnssd;
host = dnssd;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment