From dc3d0376f853c858a5b7b8dd2b85ad2bdc44a577 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Thu, 22 Aug 2013 15:02:02 -0500 Subject: [PATCH] Apparently Qt has removed the toAscii function from qt5, this replaces that function call with a call to toLocal8Bit --- src/zeroconf/avahi/qxtmdns_avahi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,