summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorVille Pernu <ville.pernu@nokia.com>2010-11-24 10:59:36 (GMT)
committerVille Pernu <ville.pernu@nokia.com>2010-11-24 10:59:36 (GMT)
commitcbf7a7782f465846455a5fd5df339ebde31a5521 (patch)
treea7f77e45bc7832b53c838c136b1eb5f73d0134cf /tests/auto
parent4e9b721af573e7d1a16b35778059b374520cf055 (diff)
downloadQt-cbf7a7782f465846455a5fd5df339ebde31a5521.zip
Qt-cbf7a7782f465846455a5fd5df339ebde31a5521.tar.gz
Qt-cbf7a7782f465846455a5fd5df339ebde31a5521.tar.bz2
Fix a missing error-signal when a server is shut down while downloading
QT-3494: During download, if a QAbstractSocket::RemoteHostClosedError occurs, the error handling is deferred to _q_disconnected() slot. However, the error message is not saved for the function, and thus the _q_disconnected only emits a finished-signal. Solution: Store an unhandled error into a private member. It is handled and reset by the _q_disconnected (or more specifically, allDone-function).
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions