diff options
Diffstat (limited to 'src/ui/keygen/KeygenDialog.cpp')
-rw-r--r-- | src/ui/keygen/KeygenDialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/keygen/KeygenDialog.cpp b/src/ui/keygen/KeygenDialog.cpp index 382be5cb..98ea1d5c 100644 --- a/src/ui/keygen/KeygenDialog.cpp +++ b/src/ui/keygen/KeygenDialog.cpp @@ -106,8 +106,7 @@ void KeyGenDialog::slotKeyGenAccept() { genKeyInfo->setNonExpired(true); } else { genKeyInfo->setExpired( - boost::posix_time::from_time_t(dateEdit->dateTime().toTime_t()) - .date()); + boost::posix_time::from_time_t(dateEdit->dateTime().toTime_t())); } gpgme_error_t error = false; @@ -115,7 +114,7 @@ void KeyGenDialog::slotKeyGenAccept() { [&]() { error = GpgKeyOpera::GetInstance().GenerateKey(genKeyInfo); }); thread->start(); - auto* dialog = new WaitingDialog("Generating", this); + auto* dialog = new WaitingDialog(_("Generating"), this); dialog->show(); while (thread->isRunning()) { |