diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-02 16:32:26 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-04 12:46:05 +0200 |
commit | dd5b373d41f99f06efd1a927a3323abada4fd6ef (patch) | |
tree | cc5f084b93a351df22a84b62dc3977df1e69caf1 /examples/network/dnslookup/dnslookup.cpp | |
parent | 2883a6de408c991ecf6184d7216c7d3de6fa4f4f (diff) |
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 <lars.knoll@nokia.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'examples/network/dnslookup/dnslookup.cpp')
-rw-r--r-- | examples/network/dnslookup/dnslookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(" "))); } |