summaryrefslogtreecommitdiff
path: root/meegohandsetnotification/watchnotificationsink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meegohandsetnotification/watchnotificationsink.cpp')
-rw-r--r--meegohandsetnotification/watchnotificationsink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/meegohandsetnotification/watchnotificationsink.cpp b/meegohandsetnotification/watchnotificationsink.cpp
index cf03c30..860c4b6 100644
--- a/meegohandsetnotification/watchnotificationsink.cpp
+++ b/meegohandsetnotification/watchnotificationsink.cpp
@@ -26,7 +26,7 @@ void WatchNotificationSink::removeNotification(uint notificationId)
if (_trackedNotifications.contains(notificationId)) {
MeegoHandsetNotification* n = _trackedNotifications[notificationId];
_trackedNotifications.remove(notificationId);
- n->clear();
+ n->remove();
n->deleteLater();
}
}