diff options
author | saturneric <[email protected]> | 2024-01-23 12:27:30 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-23 12:27:30 +0000 |
commit | 079b613d373c9ea317d49941728da146dad32356 (patch) | |
tree | a37a567cf27368f445b0365008e96c7a9ae958f1 /src/ui/thread/ProxyConnectionTestTask.cpp | |
parent | fix: solve issues at i18n support (diff) | |
download | GpgFrontend-079b613d373c9ea317d49941728da146dad32356.tar.gz GpgFrontend-079b613d373c9ea317d49941728da146dad32356.zip |
feat: add a setting to enable gpgme debug log
Diffstat (limited to 'src/ui/thread/ProxyConnectionTestTask.cpp')
-rw-r--r-- | src/ui/thread/ProxyConnectionTestTask.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ui/thread/ProxyConnectionTestTask.cpp b/src/ui/thread/ProxyConnectionTestTask.cpp index 6b0993fe..b681ca6d 100644 --- a/src/ui/thread/ProxyConnectionTestTask.cpp +++ b/src/ui/thread/ProxyConnectionTestTask.cpp @@ -45,13 +45,12 @@ auto GpgFrontend::UI::ProxyConnectionTestTask::Run() -> int { connect(network_reply, &QNetworkReply::finished, this, [this, network_reply]() { - GF_UI_LOG_DEBUG("key server domain reply: {} received", - url_.toStdString()); + GF_UI_LOG_DEBUG("key server domain reply: {} received", url_); this->slot_process_network_reply(network_reply); }); connect(timer, &QTimer::timeout, this, [this, network_reply]() { - GF_UI_LOG_DEBUG("timeout for key server: {}", url_.toStdString()); + GF_UI_LOG_DEBUG("timeout for key server: {}", url_); if (network_reply->isRunning()) { network_reply->abort(); this->slot_process_network_reply(network_reply); @@ -65,8 +64,8 @@ auto GpgFrontend::UI::ProxyConnectionTestTask::Run() -> int { void GpgFrontend::UI::ProxyConnectionTestTask::slot_process_network_reply( QNetworkReply* reply) { auto buffer = reply->readAll(); - GF_UI_LOG_DEBUG("key server domain reply: {}, buffer size: {}", - url_.toStdString(), buffer.size()); + GF_UI_LOG_DEBUG("key server domain reply: {}, buffer size: {}", url_, + buffer.size()); if (reply->error() == QNetworkReply::NoError && !buffer.isEmpty()) { result_ = "Reachable"; |