28 lines
1.4 KiB
Diff
28 lines
1.4 KiB
Diff
From 6b3900767b6c97916e0e82dd8aa8fa8029ca7616 Mon Sep 17 00:00:00 2001
|
|
From: Martin Klapetek <mklapetek@kde.org>
|
|
Date: Fri, 29 May 2015 09:28:49 +0200
|
|
Subject: [PATCH 1/1] Unbreak Undo notifications on Plasmoid removal
|
|
|
|
REVIEW: 123926
|
|
BUG: 345149
|
|
---
|
|
dataengines/notifications/notificationsengine.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/dataengines/notifications/notificationsengine.cpp b/dataengines/notifications/notificationsengine.cpp
|
|
index 509f349278f6883f509276b59f088418469a3797..c3bf373ca979bb5f75c7bf967692ff76c40360b3 100644
|
|
--- a/dataengines/notifications/notificationsengine.cpp
|
|
+++ b/dataengines/notifications/notificationsengine.cpp
|
|
@@ -154,7 +154,7 @@ uint NotificationsEngine::Notify(const QString &app_name, uint replaces_id,
|
|
|
|
//don't let applications spam too much, except ourself
|
|
//needed to display all the "applet deleted" notifications and not merge them
|
|
- if (m_activeNotifications.values().contains(app_name + summary) && app_name != QGuiApplication::applicationDisplayName() && !m_alwaysReplaceAppsList.contains(app_name)) {
|
|
+ if (m_activeNotifications.values().contains(app_name + summary) && app_name != QLatin1String("Plasma Workspace") && !m_alwaysReplaceAppsList.contains(app_name)) {
|
|
// cut off the "notification " from the source name
|
|
partOf = m_activeNotifications.key(app_name + summary).mid(13).toUInt();
|
|
|
|
--
|
|
2.4.1
|
|
|