diff options
author | Saturneric <[email protected]> | 2022-01-02 03:40:22 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-02 03:40:22 +0000 |
commit | a056f2186de2470d4328bd1cd682e5e484af4587 (patch) | |
tree | 27775ca169ad93fc812e94a4da99ebd3fa1c53f9 /src/ui/keypair_details/KeyPairDetailTab.cpp | |
parent | <refactor, test>(core, test): test decryption when key not found (diff) | |
download | GpgFrontend-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 '')
-rw-r--r-- | src/ui/keypair_details/KeyPairDetailTab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/keypair_details/KeyPairDetailTab.cpp b/src/ui/keypair_details/KeyPairDetailTab.cpp index 8b5be042..7f48b3f8 100644 --- a/src/ui/keypair_details/KeyPairDetailTab.cpp +++ b/src/ui/keypair_details/KeyPairDetailTab.cpp @@ -220,7 +220,7 @@ KeyPairDetailTab::KeyPairDetailTab(const std::string& key_id, QWidget* parent) void KeyPairDetailTab::slotExportPublicKey() { ByteArrayPtr keyArray = nullptr; - if (!GpgKeyImportExportor::GetInstance().ExportKey(mKey, keyArray)) { + if (!GpgKeyImportExporter::GetInstance().ExportKey(mKey, keyArray)) { QMessageBox::critical(this, _("Error"), _("An error occurred during the export operation.")); return; @@ -261,7 +261,7 @@ void KeyPairDetailTab::slotExportShortPrivateKey() { if (ret == QMessageBox::Ok) { ByteArrayPtr keyArray = nullptr; - if (!GpgKeyImportExportor::GetInstance().ExportSecretKeyShortest( + if (!GpgKeyImportExporter::GetInstance().ExportSecretKeyShortest( mKey, keyArray)) { QMessageBox::critical( this, _("Error"), @@ -301,7 +301,7 @@ void KeyPairDetailTab::slotExportPrivateKey() { if (ret == QMessageBox::Ok) { ByteArrayPtr keyArray = nullptr; - if (!GpgKeyImportExportor::GetInstance().ExportSecretKey(mKey, keyArray)) { + if (!GpgKeyImportExporter::GetInstance().ExportSecretKey(mKey, keyArray)) { QMessageBox::critical( this, _("Error"), _("An error occurred during the export operation.")); |