Apparently Qt has removed the toAscii function from qt5, this replaces that function call with a call to toLocal8Bit
This commit is contained in:
parent
81f56ebf5b
commit
dc3d0376f8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue