diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-18 02:50:44 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-18 02:50:44 (GMT) |
commit | c68c518d0e4823beaab7d3adf20044bc03446b46 (patch) | |
tree | 5b0a2d875aa5110ff5bd2c04b409d51eeaf7a6a5 /src/declarative | |
parent | 4a1a9023622cf712b61e8dc61e30dc26fcb4bf5a (diff) | |
download | Qt-c68c518d0e4823beaab7d3adf20044bc03446b46.zip Qt-c68c518d0e4823beaab7d3adf20044bc03446b46.tar.gz Qt-c68c518d0e4823beaab7d3adf20044bc03446b46.tar.bz2 |
Sometimes you own QNetworkReply, sometimes you don't.
God bless QNetworkAccessManager
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qdeclarativexmlhttprequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativexmlhttprequest.cpp b/src/declarative/qml/qdeclarativexmlhttprequest.cpp index 80510f8..acd1f51 100644 --- a/src/declarative/qml/qdeclarativexmlhttprequest.cpp +++ b/src/declarative/qml/qdeclarativexmlhttprequest.cpp @@ -995,7 +995,7 @@ private: int m_status; QString m_statusText; QNetworkRequest m_request; - QNetworkReply *m_network; + QDeclarativeGuard<QNetworkReply> m_network; void destroyNetwork(); QNetworkAccessManager *m_nam; |