summaryrefslogtreecommitdiffstats
path: root/src/daemon/NotifyWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/NotifyWidget.cpp')
-rw-r--r--src/daemon/NotifyWidget.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/daemon/NotifyWidget.cpp b/src/daemon/NotifyWidget.cpp
index 558a80c..482fe84 100644
--- a/src/daemon/NotifyWidget.cpp
+++ b/src/daemon/NotifyWidget.cpp
@@ -38,12 +38,15 @@ NotifyWidget::NotifyWidget(TQWidget *parent, const char *name, NotificationsServ
TQDesktopWidget *d = TQApplication::desktop();
mPosition=TQPoint(d->width()-50, d->height()-20);
move(mPosition);
- TQTimer::singleShot(100, this, TQ_SLOT(fadeAway()));
+// TODO: give the user an option to configure if he/she wants to have
+// the notification fading away from down to top
+// TQTimer::singleShot(100, this, TQ_SLOT(fadeAway()));
}
NotifyWidget::~NotifyWidget()
{
- // TODO Auto-generated destructor stub
+ if(notificationService)
+ delete notificationService;
}
void NotifyWidget::mousePressEvent( TQMouseEvent *e )