do not send an error when resetting outstanding requests; refs #5

This commit is contained in:
Marc Wäckerlin committed 2010-07-08 10:22:15 +00:00
1 parent cbe580f63d
commit a0afaa86f7
1 file changed
-3
-3
View File
@@ -114,9 +114,6 @@ namespace proxy {
#ifdef QT_NETWORK_LIB
//! Reset, stop all outstanding checks
void reset() {
if (_requests.size() || _timeout1.isActive() || _timeout2.isActive())
// error when we need to abort
proxyError(QNetworkReply::TimeoutError);
_timeout1.stop();
_timeout2.stop();
for (Requests::iterator it(_requests.begin());