From a968178f19399740be05ef220d0fad828ab0a87a Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 24 Jan 2012 23:13:38 +0000 Subject: 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 --- wizard.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'wizard.cpp') 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) { -- cgit v1.2.3