summaryrefslogtreecommitdiffstats
path: root/src/winmain
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-07-10 12:44:53 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-07-13 09:37:21 (GMT)
commit839fbd22a602aa4b9fa20e6c302329008c3aab09 (patch)
tree56011fd0ad0162d6633bcf5d0d58fe301ad726b3 /src/winmain
parentd5c71b7ede48fd832145cc3921da77b10772053c (diff)
downloadQt-839fbd22a602aa4b9fa20e6c302329008c3aab09.zip
Qt-839fbd22a602aa4b9fa20e6c302329008c3aab09.tar.gz
Qt-839fbd22a602aa4b9fa20e6c302329008c3aab09.tar.bz2
Removed an assert from the QNetworkReply.
It is possible that finished() function will be called several times, for example if the user calls QNetworkReply::close() as a result of the authenticationRequired() signal, the connection will be closed (which results in emitting a finished() signal), and then the authentication will be cancelled, which will also try to emit the same signal, however the connection state will already be set to Finished. The fix is to just make sure if the finished() signal has already been emitted by checking if the connection state is not Finished or Aborted. Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/winmain')
0 files changed, 0 insertions, 0 deletions