diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-05-27 01:27:37 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-05-27 01:27:37 +0200 |
commit | d2f692f28440680f5bac76e10e0cf8759796787c (patch) | |
tree | e673c301e94f2db62a6121772f01bb3aa0ec79c5 /keygendialog.cpp | |
parent | 2143d6f7c3712fe34a745d289bcb0f017c02cf36 (diff) |
keygen look and feel, general error routing
Diffstat (limited to 'keygendialog.cpp')
-rw-r--r-- | keygendialog.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/keygendialog.cpp b/keygendialog.cpp index 640ee069..9932ea26 100644 --- a/keygendialog.cpp +++ b/keygendialog.cpp @@ -122,13 +122,11 @@ void KeygenDialog::done(int r) pi->startAnimation(); pi->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - this->layout()->removeWidget(ui->widget); - this->layout()->removeWidget(ui->buttonBox); - this->layout()->removeWidget(ui->checkBox); - this->layout()->removeWidget(ui->plainTextEdit); - this->layout()->removeWidget(ui->label); - this->layout()->removeWidget(ui->labelExpertInfo); - this->layout()->removeWidget(ui->labelPassphraseInfo); + ui->frame->hide(); + ui->label->setText(QString("We need to generate a lot of random bytes. It is a good idea to perform<br/>") + + "some other action (type on the keyboard, move the mouse, utilize the<br/>" + + "disks) during the prime generation; this gives the random number<br/>" + + "generator a better chance to gain enough entropy."); this->layout()->addWidget(pi); |