From 715a3a80bda633f38fb26df5599a01abd08b85db Mon Sep 17 00:00:00 2001 From: ubbo Date: Mon, 12 Sep 2011 22:42:28 +0000 Subject: changed verifydetailsdialog, updated todo git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@531 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'verifynotification.cpp') diff --git a/verifynotification.cpp b/verifynotification.cpp index a13bcc8..eec65f7 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -21,10 +21,12 @@ #include "verifynotification.h" -VerifyNotification::VerifyNotification(GpgME::Context *ctx, QWidget *parent ) : +VerifyNotification::VerifyNotification(QWidget *parent, GpgME::Context *ctx, KeyList *keyList, gpgme_signature_t sign ) : QWidget(parent) { mCtx = ctx; + mKeyList = keyList; + mSignature = sign; verifyLabel = new QLabel(this); importFromKeyserverAct = new QAction(tr("Import missing key from Keyserver"), this); @@ -93,7 +95,7 @@ void VerifyNotification::showImportAction(bool visible) void VerifyNotification::showVerifyDetails() { - QDialog *verifyDetailsDialog = new QDialog(this); + /*QDialog *verifyDetailsDialog = new QDialog(this); // QLabel *label = new QLabel(*verifyDetailText); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close); connect(buttonBox, SIGNAL(rejected()), verifyDetailsDialog, SLOT(close())); @@ -122,5 +124,6 @@ void VerifyNotification::showVerifyDetails() verifyDetailsDialog->show(); //QMessageBox::information(this,tr("Details"),QString(*verifyDetailText), QMessageBox::Ok); - return; + return;*/ + new VerifyDetailsDialog(this, mCtx, mKeyList, mSignature); } -- cgit v1.2.3