diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-24 23:13:38 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-24 23:13:38 +0000 |
commit | a968178f19399740be05ef220d0fad828ab0a87a (patch) | |
tree | cc424a7506bc3bb7d705bb947e823087b6058bd7 /wizard.cpp | |
parent | resized images for integrated help by 50% (diff) | |
download | gpg4usb-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.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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) { |