aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyNewUIDDialog.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/KeyNewUIDDialog.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 'src/ui/keypair_details/KeyNewUIDDialog.cpp')
-rw-r--r--src/ui/keypair_details/KeyNewUIDDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/keypair_details/KeyNewUIDDialog.cpp b/src/ui/keypair_details/KeyNewUIDDialog.cpp
index 809a05f8..a4f2bd74 100644
--- a/src/ui/keypair_details/KeyNewUIDDialog.cpp
+++ b/src/ui/keypair_details/KeyNewUIDDialog.cpp
@@ -25,7 +25,7 @@
#include "ui/keypair_details/KeyNewUIDDialog.h"
#include "gpg/function/GpgKeyGetter.h"
-#include "gpg/function/UidOperator.h"
+#include "gpg/function/UIDOperator.h"
#include "ui/SignalStation.h"
namespace GpgFrontend::UI {
@@ -81,7 +81,7 @@ void KeyNewUIDDialog::slotCreateNewUID() {
}
auto error_string = error_stream.str();
if (error_string.empty()) {
- if (UidOperator::GetInstance().addUID(mKey, name->text().toStdString(),
+ if (UIDOperator::GetInstance().AddUID(mKey, name->text().toStdString(),
comment->text().toStdString(),
email->text().toStdString())) {
emit finished(1);