diff options
author | Shane Kearns <ext-shane.2.kearns@nokia.com> | 2012-04-10 17:54:22 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-11 22:20:10 +0200 |
commit | dc325aab1820029f6f665080fbadfe11a0ff9c7e (patch) | |
tree | b1a91a463c0bc233353b527a546a6e3572db2a97 /src/corelib/io/qurl_p.h | |
parent | 680f35ec1ee7cad8881a5fd9edadc6594cb2fe71 (diff) |
Fix error reporting in QNetworkReplyHttpImplPrivate
When errors are detected synchronously in _q_startOperation,
they were not reported. This is because unlike the generic
QNetworkReplyImpl the function is called directly rather than
using a queued connection.
In order to report errors, use the _q_error and _q_finished slots
so that signals are emitted after returning to the event loop
i.e. after the application had a chance to connect the QNetworkReply
Change-Id: I8a7bbe79a934f4634fb4e0572ebb5479dfc5f489
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'src/corelib/io/qurl_p.h')
0 files changed, 0 insertions, 0 deletions