summaryrefslogtreecommitdiff
path: root/src/notificationbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notificationbar.cpp')
-rw-r--r--src/notificationbar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/notificationbar.cpp b/src/notificationbar.cpp
index 1ff29e92..94c5cba8 100644
--- a/src/notificationbar.cpp
+++ b/src/notificationbar.cpp
@@ -74,6 +74,12 @@ NotificationBar::NotificationBar(QWidget *parent)
setGraphicsEffect(m_blinkEffect);
}
+NotificationBar::~NotificationBar()
+{
+ delete m_opacityAnimation;
+ delete m_blinkEffect;
+}
+
void NotificationBar::notifyUser(int animationDuration)
{
m_opacityAnimation->setDuration(animationDuration);