Merged in jonesmz/libqxt/qxtmdns_avahi2 (pull request #34)

Apparently Qt has removed the toAscii function from qt5, this replaces that function call with a call to toLocal8Bit
This commit is contained in:
Arvid Picciani 2013-08-23 00:05:20 +02:00
commit 9a750f3a0a
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,