diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-10 01:02:24 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-10 01:02:24 +0000 |
commit | 2f0d0efa8f39d915d114537483bcc9b48aeae263 (patch) | |
tree | db4b89e5dca53fed6018dbcb19eb08ab170fac3d /verifynotification.cpp | |
parent | added detail dialog to verificationwidget (diff) | |
download | gpg4usb-2f0d0efa8f39d915d114537483bcc9b48aeae263.tar.gz gpg4usb-2f0d0efa8f39d915d114537483bcc9b48aeae263.zip |
just comments
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@512 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp index f7d46fe..f1bffc4 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -24,9 +24,9 @@ VerifyNotification::VerifyNotification(GpgME::Context *ctx, QWidget *parent ) : detailMenu->addAction(importFromKeyserverAct); importFromKeyserverAct->setVisible(false); keysNotInList = new QStringList(); - QPushButton *verifyButton = new QPushButton("Details",this); - verifyButton->setMenu(detailMenu); - notificationWidgetLayout->addWidget(verifyButton); + detailsButton = new QPushButton("Details",this); + detailsButton->setMenu(detailMenu); + notificationWidgetLayout->addWidget(detailsButton); verifyDetailText = new QString(); } @@ -52,12 +52,12 @@ void VerifyNotification::setVerifyLabel(QString text) return; } -void VerifyNotification::addImportAction() +void VerifyNotification::showImportAction() { importFromKeyserverAct->setVisible(true); return; } -void VerifyNotification::removeImportAction() +void VerifyNotification::hideImportAction() { importFromKeyserverAct->setVisible(false); return; |