diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2011-02-07 13:40:22 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2011-02-07 13:43:19 (GMT) |
commit | 7a98f1eac11fd449f93515ce59b74a6e1ebcc88b (patch) | |
tree | ec87cd1bf1f53d1d5f6d6c9f24e532c1c41895f8 /tests/auto/qnetworkreply | |
parent | 5e59a2546f9dbbf58adb3a2169c3fffb58606d7e (diff) | |
download | Qt-7a98f1eac11fd449f93515ce59b74a6e1ebcc88b.zip Qt-7a98f1eac11fd449f93515ce59b74a6e1ebcc88b.tar.gz Qt-7a98f1eac11fd449f93515ce59b74a6e1ebcc88b.tar.bz2 |
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 fd37ebd..3715162 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); |