[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-workspace/Plasma/5.8] applets/notifications/package/contents/ui: actually remove the notific
From:       Marco Martin <notmart () gmail ! com>
Date:       2016-10-31 17:51:27
Message-ID: E1c1Gk3-00009m-96 () code ! kde ! org
[Download RAW message or body]

Git commit 05800ae75f805b5203d5ee8adb93b4818a9348a2 by Marco Martin.
Committed on 31/10/2016 at 17:49.
Pushed by mart into branch 'Plasma/5.8'.

actually remove the notification on swipe

BUG:371488

M  +4    -1    applets/notifications/package/contents/ui/NotificationDelegate.qml

http://commits.kde.org/plasma-workspace/05800ae75f805b5203d5ee8adb93b4818a9348a2

diff --git a/applets/notifications/package/contents/ui/NotificationDelegate.qml \
b/applets/notifications/package/contents/ui/NotificationDelegate.qml index \
                4822cfc..88a0a89 100644
--- a/applets/notifications/package/contents/ui/NotificationDelegate.qml
+++ b/applets/notifications/package/contents/ui/NotificationDelegate.qml
@@ -84,7 +84,10 @@ PlasmaComponents.ListItem {
                 easing.type: Easing.InOutQuad
             }
             ScriptAction {
-                script: notificationsModel.remove(index)
+                script: {
+                    closeNotification(model.source);
+                    notificationsModel.remove(index);
+                }
             }
         }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic