aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-19 21:17:57 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-19 21:17:57 +0200
commit7e93bdb9243d5b0076a747cf074ce66fc97b89f4 (patch)
tree7bfcde0d838cd69f308ab495933c1ce17da07b40 /src
parentbfdc7d39485bbef90a65b79f6c3b0986133f530d (diff)
downloadkristall-7e93bdb9243d5b0076a747cf074ce66fc97b89f4.tar.gz
Fixes bug in the gopher client.
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()