aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-02 03:40:22 +0000
committerSaturneric <[email protected]>2022-01-02 03:40:22 +0000
commita056f2186de2470d4328bd1cd682e5e484af4587 (patch)
tree27775ca169ad93fc812e94a4da99ebd3fa1c53f9 /src/ui/UserInterfaceUtils.cpp
parent<refactor, test>(core, test): test decryption when key not found (diff)
downloadGpgFrontend-a056f2186de2470d4328bd1cd682e5e484af4587.tar.gz
GpgFrontend-a056f2186de2470d4328bd1cd682e5e484af4587.zip
<refactor, fixed, test>(core, ui): add & modify core and ui
1. add init functions for core. 2. add non ascii settings. 3. fit ui with this version of core.
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r--src/ui/UserInterfaceUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index 581eabda..f7f5cb82 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -164,7 +164,7 @@ CommonUtils::CommonUtils() : QWidget(nullptr) {
void CommonUtils::slotImportKeys(QWidget* parent,
const std::string& in_buffer) {
- GpgImportInformation result = GpgKeyImportExportor::GetInstance().ImportKey(
+ GpgImportInformation result = GpgKeyImportExporter::GetInstance().ImportKey(
std::make_unique<ByteArray>(in_buffer));
emit signalKeyStatusUpdated();
new KeyImportDetailDialog(result, false, parent);
@@ -309,7 +309,7 @@ void CommonUtils::slotImportKeyFromKeyServer(
// Try importing
GpgImportInformation result =
- GpgKeyImportExportor::GetInstance(ctx_channel)
+ GpgKeyImportExporter::GetInstance(ctx_channel)
.ImportKey(std::move(key_data_ptr));
if (result.imported == 1) {