aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gopherclient.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gopherclient.cpp b/src/gopherclient.cpp
index 49ef29d..63c35ca 100644
--- a/src/gopherclient.cpp
+++ b/src/gopherclient.cpp
@@ -88,7 +88,9 @@ void GopherClient::on_readRead()
}
}
- emit this->requestProgress(body.size());
+ if(not was_cancelled) {
+ emit this->requestProgress(body.size());
+ }
}
void GopherClient::on_finished()