From 141e99156c4370bb5ce19b61e070d226fa90ab8e Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 14 Sep 2011 20:19:53 +0000 Subject: set modal and parent for key details dialog. left margin for verifynotification. More doxygen git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@532 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- keydetailsdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keydetailsdialog.cpp') diff --git a/keydetailsdialog.cpp b/keydetailsdialog.cpp index 7248bb1..be0a572 100644 --- a/keydetailsdialog.cpp +++ b/keydetailsdialog.cpp @@ -21,7 +21,8 @@ #include "keydetailsdialog.h" -KeyDetailsDialog::KeyDetailsDialog(GpgME::Context* ctx, gpgme_key_t key) +KeyDetailsDialog::KeyDetailsDialog(GpgME::Context* ctx, gpgme_key_t key, QWidget *parent) + : QDialog(parent) { mCtx = ctx; @@ -126,6 +127,7 @@ KeyDetailsDialog::KeyDetailsDialog(GpgME::Context* ctx, gpgme_key_t key) this->setLayout(mvbox); this->setWindowTitle(tr("Keydetails")); + this->setModal(true); this->show(); exec(); -- cgit v1.2.3