aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/key_generate/KeygenDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-19 19:03:27 +0000
committerSaturneric <[email protected]>2022-05-19 19:03:42 +0000
commitef25178144232d7363bac6dd63c0bf9878da02a5 (patch)
tree936a3f4b8ea338ed845a2c5ffe961dafc707aa8e /src/ui/key_generate/KeygenDialog.cpp
parentfix: adjust initialized order and organize (diff)
downloadGpgFrontend-ef25178144232d7363bac6dd63c0bf9878da02a5.tar.gz
GpgFrontend-ef25178144232d7363bac6dd63c0bf9878da02a5.zip
fix: solve general problems for compiling
Diffstat (limited to 'src/ui/key_generate/KeygenDialog.cpp')
-rw-r--r--src/ui/key_generate/KeygenDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/key_generate/KeygenDialog.cpp b/src/ui/key_generate/KeygenDialog.cpp
index 676539c7..d5ca801d 100644
--- a/src/ui/key_generate/KeygenDialog.cpp
+++ b/src/ui/key_generate/KeygenDialog.cpp
@@ -160,7 +160,7 @@ void KeyGenDialog::slot_key_gen_accept() {
emit SignalKeyGenerated();
this->close();
} else {
- QMessageBox::critical(this, _("Failure"), _(gpgme_strerror(error)));
+ QMessageBox::critical(this, _("Failure"), _("Key generation failed."));
}
} else {