Apparently Qt has removed the toAscii function from qt5, this replaces that function call with a call to toLocal8Bit

This commit is contained in:
Michael Jones 2013-08-22 15:02:02 -05:00
parent 81f56ebf5b
commit dc3d0376f8
1 changed files with 1 additions and 1 deletions

View File

@ -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,