QQmlXmlHttpRequest - use readyread signal not downloadProgress
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Fri, 1 Jun 2012 13:36:48 +0000 (14:36 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 6 Jun 2012 13:31:43 +0000 (15:31 +0200)
commit1fcb3d512c37625e6dfdbd045c755e8d6aca8c57
tree653afad21dd572b9df3d1cb044d9f5d44ff53ca9
parentc37c4215b0cfd31967b5799ebb0f0e78a55f7e85
QQmlXmlHttpRequest - use readyread signal not downloadProgress

The readyRead signal (part of QIODevice base class) is the
appropriate signal for knowing when there is data available
in a QNetworkReply.
DownloadProgress is intended for UI elements e.g. progress bars.
Previously it was emitted at the same time, but now it is emitted
less often.

Task-number: QTBUG-20449
Change-Id: I60abb8f807bde314785c301dac74d27238be1a23
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/qml/qml/qqmlxmlhttprequest.cpp