aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r--verifynotification.cpp10
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;