summaryrefslogtreecommitdiff
path: root/tests/auto/qnetworkreply
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2011-02-07 14:40:22 +0100
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-02-07 14:43:19 +0100
commit7a98f1eac11fd449f93515ce59b74a6e1ebcc88b (patch)
treeec87cd1bf1f53d1d5f6d6c9f24e532c1c41895f8 /tests/auto/qnetworkreply
parent5e59a2546f9dbbf58adb3a2169c3fffb58606d7e (diff)
downloadqt4-tools-7a98f1eac11fd449f93515ce59b74a6e1ebcc88b.tar.gz
tst_qnetworkreply: Use proper test server hostname
Reviewed-by: Martin Petersson
Diffstat (limited to 'tests/auto/qnetworkreply')
-rw-r--r--tests/auto/qnetworkreply/tst_qnetworkreply.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
index fd37ebd6ac..3715162f33 100644
--- a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
@@ -5323,7 +5323,7 @@ void tst_QNetworkReply::qtbug13431replyThrottling()
connect(&nam, SIGNAL(finished(QNetworkReply*)), &helper, SLOT(replyFinished(QNetworkReply*)));
// Download a bigger file
- QNetworkRequest netRequest(QUrl("http://qt-test-server/qtest/bigfile"));
+ QNetworkRequest netRequest(QUrl("http://" + QtNetworkSettings::serverName() + "/qtest/bigfile"));
helper.m_reply = nam.get(netRequest);
// Set the throttle
helper.m_reply->setReadBufferSize(36000);