diff --git a/src/zeroconf/avahi/qxtmdns_avahi.cpp b/src/zeroconf/avahi/qxtmdns_avahi.cpp index 12cb33b3..e13bbf34 100644 --- a/src/zeroconf/avahi/qxtmdns_avahi.cpp +++ b/src/zeroconf/avahi/qxtmdns_avahi.cpp @@ -73,7 +73,7 @@ void QxtMDNSPrivate::avahiClientCallback(AvahiClient *s, AvahiClientState state, s, AVAHI_IF_UNSPEC, AVAHI_PROTO_INET, - self->name.toAscii().constData(), + self->name.toLocal8Bit().constData(), AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_A, (AvahiLookupFlags)0,