aboutsummaryrefslogtreecommitdiffstats
path: root/wizard.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-24 23:13:38 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-24 23:13:38 +0000
commita968178f19399740be05ef220d0fad828ab0a87a (patch)
treecc424a7506bc3bb7d705bb947e823087b6058bd7 /wizard.cpp
parentresized images for integrated help by 50% (diff)
downloadgpg4usb-a968178f19399740be05ef220d0fad828ab0a87a.tar.gz
gpg4usb-a968178f19399740be05ef220d0fad828ab0a87a.zip
moved layout definitions from header to sourcefile where possible
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@775 34ebc366-c3a9-4b3c-9f84-69acf7962910
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)
{