diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2011-02-07 14:40:22 +0100 |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2011-02-07 14:43:19 +0100 |
commit | 7a98f1eac11fd449f93515ce59b74a6e1ebcc88b (patch) | |
tree | ec87cd1bf1f53d1d5f6d6c9f24e532c1c41895f8 /tests/auto/qnetworkreply | |
parent | 5e59a2546f9dbbf58adb3a2169c3fffb58606d7e (diff) | |
download | qt4-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.cpp | 2 |
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); |