summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/taskbarapplet/mailapplet.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/taskbarapplet/mailapplet.cpp b/noncore/net/mail/taskbarapplet/mailapplet.cpp
index f81dce8..31d5bfe 100644
--- a/noncore/net/mail/taskbarapplet/mailapplet.cpp
+++ b/noncore/net/mail/taskbarapplet/mailapplet.cpp
@@ -37,2 +37,4 @@ MailApplet::MailApplet( QWidget *parent, const char *name, WFlags fl )
+ m_statusMail = 0;
+
connect( this, SIGNAL( clicked() ), SLOT( slotClicked() ) );
@@ -51,3 +53,3 @@ MailApplet::MailApplet( QWidget *parent, const char *name, WFlags fl )
MailApplet::~MailApplet() {
- delete m_statusMail;
+ if (m_statusMail) delete m_statusMail;
}