Skip to content
Snippets Groups Projects
Commit 55e8f408 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

NotificationZone: Fix memory leak

parent 500cdd27
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,11 @@ NotificationZone::NotificationZone(QWidget *parent) :
connect( m_timer, SIGNAL( timeout() ), this, SLOT( hideNotification() ) );
}
NotificationZone::~NotificationZone()
{
delete m_ui;
}
void
NotificationZone::notify( const QString &message )
{
......
......@@ -39,6 +39,7 @@ class NotificationZone : public QWidget, public Singleton<NotificationZone>
private:
explicit NotificationZone(QWidget *parent = 0);
virtual ~NotificationZone();
private:
Ui::NotificationZone *m_ui;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment