aboutsummaryrefslogtreecommitdiffstats
path: root/wizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizard.cpp')
-rw-r--r--wizard.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/wizard.cpp b/wizard.cpp
index ad7bb46..c38b66e 100644
--- a/wizard.cpp
+++ b/wizard.cpp
@@ -313,7 +313,7 @@ KeyGenPage::KeyGenPage(GpgME::GpgContext *ctx, QWidget *parent)
createKeyButton = new QPushButton(tr("Create New Key"));
createKeyButtonBoxLayout->addWidget(createKeyButton);
createKeyButtonBoxLayout->addStretch(1);
- layout = new QVBoxLayout();
+ QVBoxLayout *layout = new QVBoxLayout();
layout->addWidget(topLabel);
layout->addWidget(linkLabel);
layout->addWidget(createKeyButtonBox);
@@ -330,15 +330,9 @@ int KeyGenPage::nextId() const
void KeyGenPage::generateKeyDialog()
{
KeyGenDialog *keyGenDialog = new KeyGenDialog(mCtx, this);
- connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(showKeyGeneratedMessage()));
keyGenDialog->show();
}
-void KeyGenPage::showKeyGeneratedMessage()
-{
- layout->addWidget(new QLabel(tr("key generated. Now you can crypt and sign texts.")));
-}
-
ConclusionPage::ConclusionPage(QWidget *parent)
: QWizardPage(parent)
{