summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-22 08:29:37 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-22 08:29:37 (GMT)
commit27f566fb608d9465110dc67d16fe8f88ee9d4a0a (patch)
treec8925b7aa4effc946ba8330648c95a288f923d4d /tests/benchmarks
parent79a093b7f4c78994504a0a9e306169df1eb4c7a3 (diff)
parent144f3bade4d5f48ebc268dae0df26ddf7dfe1228 (diff)
downloadQt-27f566fb608d9465110dc67d16fe8f88ee9d4a0a.zip
Qt-27f566fb608d9465110dc67d16fe8f88ee9d4a0a.tar.gz
Qt-27f566fb608d9465110dc67d16fe8f88ee9d4a0a.tar.bz2
Merge remote branch 'origin/4.6' into qt-4.7-from-4.6
Conflicts: src/openvg/qpaintengine_vg.cpp
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/network/access/qfile_vs_qnetworkaccessmanager/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/network/access/qfile_vs_qnetworkaccessmanager/main.cpp b/tests/benchmarks/network/access/qfile_vs_qnetworkaccessmanager/main.cpp
index 81f6f25..7534e09 100644
--- a/tests/benchmarks/network/access/qfile_vs_qnetworkaccessmanager/main.cpp
+++ b/tests/benchmarks/network/access/qfile_vs_qnetworkaccessmanager/main.cpp
@@ -141,7 +141,7 @@ void qfile_vs_qnetworkaccessmanager::qnamImmediateFileRead()
{
QNetworkAccessManager manager;
QTime t;
- QNetworkRequest request(QUrl(testFile.fileName()));
+ QNetworkRequest request(QUrl::fromLocalFile(testFile.fileName()));
// do 3 dry runs for cache warmup
qnamImmediateFileRead_iteration(manager, request);