aboutsummaryrefslogtreecommitdiff
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
parentbfdc7d39485bbef90a65b79f6c3b0986133f530d (diff)
downloadkristall-7e93bdb9243d5b0076a747cf074ce66fc97b89f4.tar.gz
Fixes bug in the gopher client.
-rw-r--r--README.md1
-rw-r--r--src/gopherclient.cpp4
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()