aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/KeyServerSearchTask.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-08-05 16:55:32 +0000
committersaturneric <[email protected]>2024-08-05 16:55:32 +0000
commit795a81bd1edad59ef51e73157b5ad68cfa30e328 (patch)
treefd9c4da2f1389f0a236d806e005cabb9f5ceab41 /src/ui/thread/KeyServerSearchTask.cpp
parentfix: build pipeline (diff)
parentfix: unchecking some check boxes at gnupg controller will not restart (diff)
downloadGpgFrontend-795a81bd1edad59ef51e73157b5ad68cfa30e328.tar.gz
GpgFrontend-795a81bd1edad59ef51e73157b5ad68cfa30e328.zip
fix: according to issues and test, apply some fixesv2.1.4
Diffstat (limited to 'src/ui/thread/KeyServerSearchTask.cpp')
-rw-r--r--src/ui/thread/KeyServerSearchTask.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/thread/KeyServerSearchTask.cpp b/src/ui/thread/KeyServerSearchTask.cpp
index 704899a4..2f7f08a7 100644
--- a/src/ui/thread/KeyServerSearchTask.cpp
+++ b/src/ui/thread/KeyServerSearchTask.cpp
@@ -61,6 +61,12 @@ void GpgFrontend::UI::KeyServerSearchTask::dealing_reply_from_server() {
if (network_reply == QNetworkReply::NoError) {
buffer = reply_->readAll();
}
- emit SignalKeyServerSearchResult(network_reply, buffer);
+
+ LOG_D() << "reply from key server:" << network_reply
+ << "err string:" << reply_->errorString()
+ << "reply:" << QString::fromLatin1(buffer);
+
+ emit SignalKeyServerSearchResult(network_reply, reply_->errorString(),
+ buffer);
emit SignalTaskShouldEnd(0);
}