diff --git a/libnotificationmanager/notificationsmodel.cpp b/libnotificationmanager/notificationsmodel.cpp --- a/libnotificationmanager/notificationsmodel.cpp +++ b/libnotificationmanager/notificationsmodel.cpp @@ -83,19 +83,6 @@ void NotificationsModel::Private::onNotificationAdded(const Notification ¬ification) { - // If we get the same notification in succession, just compress them into one - if (!notifications.isEmpty()) { - const Notification &lastNotification = notifications.constLast(); - if (lastNotification.applicationName() == notification.applicationName() - && lastNotification.summary() == notification.summary() - && lastNotification.body() == notification.body() - && lastNotification.desktopEntry() == notification.desktopEntry() - && lastNotification.applicationName() == notification.applicationName()) { - onNotificationReplaced(lastNotification.id(), notification); - return; - } - } - // Once we reach a certain insane number of notifications discard some old ones // as we keep pixmaps around etc if (notifications.count() >= s_notificationsLimit) {