summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-02-24 13:30:44 (GMT)
committerMartin Petersson <martin.petersson@nokia.com>2011-02-24 13:32:50 (GMT)
commit9a4741e679bf186e5f93a855b8f0912bc2e42460 (patch)
treeb0b3efe9c4df9aad7abfecb54026c110e9fecbe7 /tests
parent3464eb520b4381a565c6fd2f122d1d6647c25796 (diff)
downloadQt-9a4741e679bf186e5f93a855b8f0912bc2e42460.zip
Qt-9a4741e679bf186e5f93a855b8f0912bc2e42460.tar.gz
Qt-9a4741e679bf186e5f93a855b8f0912bc2e42460.tar.bz2
tst_qnetworkProxyFactory: fix debug output.
Reviewed-by: Markus Goetz
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp b/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
index 10fa7c6..41da16e 100644
--- a/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
+++ b/tests/auto/qnetworkproxyfactory/tst_qnetworkproxyfactory.cpp
@@ -60,8 +60,8 @@ QString tst_QNetworkProxyFactory::formatProxyName(const QNetworkProxy & proxy) c
QString proxyName;
if (!proxy.user().isNull())
proxyName.append("%1:%2@").arg(proxy.user(), proxy.password());
- proxyName.append("%1:%2").arg(proxy.hostName(), proxy.port());
- proxyName.append(" (type=%1, capabilities=%2)").arg(proxy.type(), proxy.capabilities());
+ proxyName.append(QString("%1:%2").arg(proxy.hostName()).arg(proxy.port()));
+ proxyName.append(QString(" (type=%1, capabilities=%2)").arg(proxy.type()).arg(proxy.capabilities()));
return proxyName;
}