From 2f0d0efa8f39d915d114537483bcc9b48aeae263 Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 10 Aug 2011 01:02:24 +0000 Subject: just comments git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@512 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'verifynotification.cpp') 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; -- cgit v1.2.3