summaryrefslogtreecommitdiffstats
path: root/dnssd/servicebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dnssd/servicebase.cpp')
-rw-r--r--dnssd/servicebase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnssd/servicebase.cpp b/dnssd/servicebase.cpp
index ef2943b95..7fd1ef802 100644
--- a/dnssd/servicebase.cpp
+++ b/dnssd/servicebase.cpp
@@ -34,7 +34,7 @@ ServiceBase::~ServiceBase()
QString ServiceBase::encode()
{
- return m_serviceName.replace("\\","\\\\").replace(".","\\.") + QString(".") + m_type +
+ return m_serviceName.replace(".","\\.").replace("\\","\\\\") + QString(".") + m_type +
QString(".") + m_domain;
}