aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keygen/KeygenDialog.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-07-16 10:44:24 +0000
committerGitHub <[email protected]>2021-07-16 10:44:24 +0000
commit9601cb5a96bbd59c7e4dd9ba9e74d26e8e50e8ee (patch)
tree8a90600e52122cc9d45e231fc562ae1e4d380e04 /src/ui/keygen/KeygenDialog.cpp
parentMerge branch 'develop' into main (diff)
parentImprove the function of sending mail; (diff)
downloadGpgFrontend-9601cb5a96bbd59c7e4dd9ba9e74d26e8e50e8ee.tar.gz
GpgFrontend-9601cb5a96bbd59c7e4dd9ba9e74d26e8e50e8ee.zip
Merge pull request #13 from saturneric/developv1.2.1
Version 1.2.1
Diffstat (limited to 'src/ui/keygen/KeygenDialog.cpp')
-rw-r--r--src/ui/keygen/KeygenDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/keygen/KeygenDialog.cpp b/src/ui/keygen/KeygenDialog.cpp
index b9fdae3f..8637a643 100644
--- a/src/ui/keygen/KeygenDialog.cpp
+++ b/src/ui/keygen/KeygenDialog.cpp
@@ -74,8 +74,7 @@ void KeyGenDialog::slotKeyGenAccept() {
* primary keys should have a reasonable expiration date (no more than 2 years in the future)
*/
if(dateEdit->dateTime() > QDateTime::currentDateTime().addYears(2)) {
-
- errorString.append(tr(" Expiration time no more than 2 years. "));
+ errorString.append(tr(" Expiration time no more than 2 years. \n"));
}
if (errorString.isEmpty()) {