summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-05-14 10:41:07 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-05-14 10:42:34 (GMT)
commitc1423c03d69f51d76b3629f2fedce555696759fa (patch)
treeec3de4986ae5d6fd936d2a23cceb9654c11a8278 /src/network/access
parent186c59d34b4e35018850570719f3a9c553f391e0 (diff)
downloadQt-c1423c03d69f51d76b3629f2fedce555696759fa.zip
Qt-c1423c03d69f51d76b3629f2fedce555696759fa.tar.gz
Qt-c1423c03d69f51d76b3629f2fedce555696759fa.tar.bz2
QNetworkAccessManager: Backends were tried in wrong order
We inversed the order. HTTP shall be tried first, file:// last. See https://bugs.webkit.org/show_bug.cgi?id=38935 Reviewed-by: Thiago
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkaccessbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccessbackend.cpp b/src/network/access/qnetworkaccessbackend.cpp
index 8ac64d2..4273e10 100644
--- a/src/network/access/qnetworkaccessbackend.cpp
+++ b/src/network/access/qnetworkaccessbackend.cpp
@@ -72,7 +72,7 @@ Q_GLOBAL_STATIC(QNetworkAccessBackendFactoryData, factoryData)
QNetworkAccessBackendFactory::QNetworkAccessBackendFactory()
{
QMutexLocker locker(&factoryData()->mutex);
- factoryData()->prepend(this);
+ factoryData()->append(this);
}
QNetworkAccessBackendFactory::~QNetworkAccessBackendFactory()