aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyUIDSignDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-14 19:48:15 +0000
committerSaturneric <[email protected]>2022-01-14 19:48:15 +0000
commitdf550288147b32dc42dd9161e2a4da52e1f794ea (patch)
treea370b0964c5ce30d42759f39e5200deec5c821d6 /src/ui/keypair_details/KeyUIDSignDialog.cpp
parent<doc>(core): add comment for code (diff)
downloadGpgFrontend-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 '')
-rw-r--r--src/ui/keypair_details/KeyUIDSignDialog.cpp2
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()));