summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
index b116129..4f02b27 100644
--- a/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
+++ b/src/declarative/qml/qdeclarativenetworkaccessmanagerfactory.cpp
@@ -59,10 +59,6 @@ QT_BEGIN_NAMESPACE
To use a factory, assign it to the relevant QDeclarativeEngine using
QDeclarativeEngine::setNetworkAccessManagerFactory().
- If the created QNetworkAccessManager becomes invalid, due to a
- change in proxy settings, for example, call the invalidate() method.
- This will cause all QNetworkAccessManagers to be recreated.
-
Note: the create() method may be called by multiple threads, so ensure the
implementation of this method is reentrant.
@@ -83,6 +79,7 @@ QDeclarativeNetworkAccessManagerFactory::~QDeclarativeNetworkAccessManagerFactor
This allows proxies, caching and cookie support to be setup appropriately.
This method should return a new QNetworkAccessManager each time it is called.
+ The parent of the QNetworkAccessManager must be the \a parent provided.
Note: this method may be called by multiple threads, so ensure the
implementation of this method is reentrant.