aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r--verifynotification.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp
index 0c42fdf..2de1a2a 100644
--- a/verifynotification.cpp
+++ b/verifynotification.cpp
@@ -3,7 +3,7 @@
VerifyNotification::VerifyNotification(QWidget *parent) :
QWidget(parent)
{
- QLabel *verifyLabel = new QLabel("Verified");
+ verifyLabel = new QLabel("Verified");
QHBoxLayout *notificationWidgetLayout = new QHBoxLayout();
notificationWidgetLayout->setContentsMargins(0,0,0,0);
@@ -25,6 +25,10 @@ VerifyNotification::VerifyNotification(QWidget *parent) :
verifyButton->setMenu(verifyMenu);
notificationWidgetLayout->addStretch(1);
notificationWidgetLayout->addWidget(verifyButton);
+}
-
+void VerifyNotification::setVerifyLabel(QString text)
+{
+ verifyLabel->setText(text);
+ return;
}