From dd5b373d41f99f06efd1a927a3323abada4fd6ef Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 2 May 2012 16:32:26 +0200 Subject: Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtNetwork] This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: I94cc301ea75cc689bcb6e2d417120cf14e36808d Reviewed-by: Lars Knoll Reviewed-by: Shane Kearns Reviewed-by: Richard J. Moore --- examples/network/dnslookup/dnslookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/network') diff --git a/examples/network/dnslookup/dnslookup.cpp b/examples/network/dnslookup/dnslookup.cpp index 90cf914629..7bd75a988c 100644 --- a/examples/network/dnslookup/dnslookup.cpp +++ b/examples/network/dnslookup/dnslookup.cpp @@ -137,7 +137,7 @@ void DnsManager::showResults() foreach (const QDnsTextRecord &record, dns->textRecords()) { QStringList values; foreach (const QByteArray &ba, record.values()) - values << "\"" + QString::fromAscii(ba) + "\""; + values << "\"" + QString::fromLatin1(ba) + "\""; printf("%s\t%i\tIN\tTXT\t%s\n", qPrintable(record.name()), record.timeToLive(), qPrintable(values.join(" "))); } -- cgit v1.2.3