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/ListedKeyServerTestTask.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/ListedKeyServerTestTask.cpp')
-rw-r--r-- | src/ui/thread/ListedKeyServerTestTask.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/thread/ListedKeyServerTestTask.cpp b/src/ui/thread/ListedKeyServerTestTask.cpp index 4ab7ba5f..f50a66ab 100644 --- a/src/ui/thread/ListedKeyServerTestTask.cpp +++ b/src/ui/thread/ListedKeyServerTestTask.cpp @@ -47,20 +47,19 @@ auto GpgFrontend::UI::ListedKeyServerTestTask::Run() -> int { size_t index = 0; for (const auto& url : urls_) { auto key_url = QUrl{url}; - GF_UI_LOG_DEBUG("key server request: {}", key_url.host().toStdString()); + GF_UI_LOG_DEBUG("key server request: {}", key_url.host()); auto* network_reply = network_manager_->get(QNetworkRequest{key_url}); auto* timer = new QTimer(this); connect(network_reply, &QNetworkReply::finished, this, [this, index, network_reply]() { - GF_UI_LOG_DEBUG("key server domain reply: {}", - urls_[index].toStdString()); + GF_UI_LOG_DEBUG("key server domain reply: {}", urls_[index]); this->slot_process_network_reply(index, network_reply); }); connect(timer, &QTimer::timeout, this, [this, index, network_reply]() { - GF_UI_LOG_DEBUG("timeout for key server: {}", urls_[index].toStdString()); + GF_UI_LOG_DEBUG("timeout for key server: {}", urls_[index]); if (network_reply->isRunning()) { network_reply->abort(); this->slot_process_network_reply(index, network_reply); |