diff options
author | saturneric <[email protected]> | 2024-05-03 16:30:50 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-05-03 16:30:50 +0000 |
commit | 30096c94566cedc4049157611c068f8b097e53fb (patch) | |
tree | edfb1d3a03b1bbd4fe9c15c5af193c38f66993e8 /src/ui/UserInterfaceUtils.cpp | |
parent | feat: add different icons (diff) | |
download | GpgFrontend-30096c94566cedc4049157611c068f8b097e53fb.tar.gz GpgFrontend-30096c94566cedc4049157611c068f8b097e53fb.zip |
fix: "auto-key-retrieve" instead of "auto-key-import"
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index 1fd5c3bb..806ceb9e 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -65,8 +65,8 @@ void show_verify_details(QWidget *parent, InfoBoardWidget *info_board, [=]() { VerifyDetailsDialog(parent, error, verify_result); }); } -void import_unknown_key_from_keyserver( - QWidget *parent, const GpgVerifyResultAnalyse &verify_res) { +void ImportUnknownKeyFromKeyserver( + QWidget *parent, const GpgVerifyResultAnalyse &verify_result) { QMessageBox::StandardButton reply; reply = QMessageBox::question( parent, QCoreApplication::tr("Public key not found locally"), @@ -78,7 +78,7 @@ void import_unknown_key_from_keyserver( if (reply == QMessageBox::Yes) { auto dialog = KeyServerImportDialog(parent); auto key_ids = std::make_unique<KeyIdArgsList>(); - auto *signature = verify_res.GetSignatures(); + auto *signature = verify_result.GetSignatures(); while (signature != nullptr) { GF_UI_LOG_DEBUG("signature fpr: {}", signature->fpr); key_ids->push_back(signature->fpr); |