From 7e93bdb9243d5b0076a747cf074ce66fc97b89f4 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Fri, 19 Jun 2020 21:17:57 +0200 Subject: Fixes bug in the gopher client. --- README.md | 1 - src/gopherclient.cpp | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d6b8c6..94b60a5 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,6 @@ ln -s /path/to/kristall . - [ ] Import/export PEM certificates and keys - [ ] Add a "scope" option to certificates so users can restrict the scope where the certificate is valid - Fix bug: Somehow auto-disable of client-cert doesn't work -- Fix bug: gopher seems to time out? ### 0.4 - The colorful release - [ ] Implement dual-colored icon theme 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() -- cgit v1.2.3