diff options
Diffstat (limited to 'verifydetailsdialog.cpp')
-rw-r--r-- | verifydetailsdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/verifydetailsdialog.cpp b/verifydetailsdialog.cpp index 477f982..945e928 100644 --- a/verifydetailsdialog.cpp +++ b/verifydetailsdialog.cpp @@ -32,15 +32,16 @@ VerifyDetailsDialog::VerifyDetailsDialog(QWidget *parent, GpgME::Context* ctx, K connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(refresh())); mainLayout = new QHBoxLayout(); this->setLayout(mainLayout); + + mVbox = new QWidget(); refresh(); + this->exec(); } void VerifyDetailsDialog::refresh() { - if (mVbox) { - mVbox->close(); - } + mVbox->close(); mVbox = new QWidget(); mVboxLayout = new QVBoxLayout(mVbox); @@ -73,7 +74,6 @@ void VerifyDetailsDialog::refresh() } } } - // Add informationbox for every single key while (sign) { VerifyKeyDetailBox *sbox = new VerifyKeyDetailBox(this,mCtx,mKeyList,sign); |