diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-05-18 20:00:23 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-23 23:30:03 +0200 |
commit | 6d65b2cc8c5d86d2351e27c158e3b18519e1fcb5 (patch) | |
tree | 81a34f7f477a0ab4cb0f8b4f26d5411163e31f49 /examples/network/dnslookup | |
parent | e44f1dabe44f4979da5da7d5d50395883f3de684 (diff) |
Use QStringList::join(QChar) overload where applicable [examples]
This is an automated change performing the following replacements:
join\("(.)"\) -> join('\1')
join\(QLatin1String\("(.)"\)\) -> join(QLatin1Char('\1'))
join\(QStringLiteral\("(.)"\)\) -> join(QLatin1Char('\1'))
Change-Id: I1d0c9782cc1522d937b930531720e32d4c8f7ce8
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'examples/network/dnslookup')
-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 79f901ed99..77e8abc927 100644 --- a/examples/network/dnslookup/dnslookup.cpp +++ b/examples/network/dnslookup/dnslookup.cpp @@ -138,7 +138,7 @@ void DnsManager::showResults() QStringList values; foreach (const QByteArray &ba, record.values()) values << "\"" + QString::fromLatin1(ba) + "\""; - printf("%s\t%i\tIN\tTXT\t%s\n", qPrintable(record.name()), record.timeToLive(), qPrintable(values.join(" "))); + printf("%s\t%i\tIN\tTXT\t%s\n", qPrintable(record.name()), record.timeToLive(), qPrintable(values.join(' '))); } QCoreApplication::instance()->quit(); |