diff options
author | Saturneric <[email protected]> | 2022-01-14 19:48:15 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-14 19:48:15 +0000 |
commit | df550288147b32dc42dd9161e2a4da52e1f794ea (patch) | |
tree | a370b0964c5ce30d42759f39e5200deec5c821d6 /src/ui/keypair_details/KeyUIDSignDialog.cpp | |
parent | <doc>(core): add comment for code (diff) | |
download | GpgFrontend-df550288147b32dc42dd9161e2a4da52e1f794ea.tar.gz GpgFrontend-df550288147b32dc42dd9161e2a4da52e1f794ea.zip |
<doc, refactor>(ci): Tidy up code in gpg/function
1. Rename related entities.
2. Add a comments.
Diffstat (limited to 'src/ui/keypair_details/KeyUIDSignDialog.cpp')
-rw-r--r-- | src/ui/keypair_details/KeyUIDSignDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp index b43a119e..c872eb12 100644 --- a/src/ui/keypair_details/KeyUIDSignDialog.cpp +++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp @@ -111,7 +111,7 @@ void KeyUIDSignDialog::slotSignKey(bool clicked) { for (const auto& uid : *mUids) { LOG(INFO) << "Sign UID" << uid; // Sign For mKey - if (!GpgKeyManager::GetInstance().signKey(mKey, *keys, uid, expires)) { + if (!GpgKeyManager::GetInstance().SignKey(mKey, *keys, uid, expires)) { QMessageBox::critical( nullptr, _("Unsuccessful Operation"), QString(_("Signature operation failed for UID %1")).arg(uid.c_str())); |