aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeySetExpireDateDialog.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/keypair_details/KeySetExpireDateDialog.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/keypair_details/KeySetExpireDateDialog.cpp')
-rw-r--r--src/ui/keypair_details/KeySetExpireDateDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/keypair_details/KeySetExpireDateDialog.cpp b/src/ui/keypair_details/KeySetExpireDateDialog.cpp
index 785dce14..f2ccc240 100644
--- a/src/ui/keypair_details/KeySetExpireDateDialog.cpp
+++ b/src/ui/keypair_details/KeySetExpireDateDialog.cpp
@@ -84,7 +84,9 @@ void KeySetExpireDateDialog::slot_confirm() {
this->close();
} else {
- QMessageBox::critical(this, _("Failure"), _(gpgme_strerror(err)));
+ QMessageBox::critical(
+ this, _("Failure"),
+ _("Failed to update the expire date of the key pair."));
}
}