summaryrefslogtreecommitdiffstats
path: root/keygendialog.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-05-27 01:27:37 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-05-27 01:27:37 +0200
commitd2f692f28440680f5bac76e10e0cf8759796787c (patch)
treee673c301e94f2db62a6121772f01bb3aa0ec79c5 /keygendialog.cpp
parent2143d6f7c3712fe34a745d289bcb0f017c02cf36 (diff)
keygen look and feel, general error routing
Diffstat (limited to 'keygendialog.cpp')
-rw-r--r--keygendialog.cpp12
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);