summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2017-02-09 17:22:54 (GMT)
committerMarco Martin <notmart@gmail.com>2017-02-09 17:22:54 (GMT)
commit4c7335230f90b288fa875ba5d1a589e14bbc86fe (patch)
treed43e6a8a6bc7753ae6a27c3da8722e64d2862b2a
parent92601876d18c0974aa524a84c3765f279c581ed9 (diff)
turn the NotificationItem in a MouseArea
make all the area of NotificationItem a MouseArea in order to let the outside MouseEventListener to correctly intercept all the events
-rw-r--r--applets/notifications/package/contents/ui/NotificationItem.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/notifications/package/contents/ui/NotificationItem.qml b/applets/notifications/package/contents/ui/NotificationItem.qml
index 25f470f..820f236 100644
--- a/applets/notifications/package/contents/ui/NotificationItem.qml
+++ b/applets/notifications/package/contents/ui/NotificationItem.qml
@@ -27,7 +27,7 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kquickcontrolsaddons 2.0
-Item {
+MouseArea {
id: notificationItem
width: parent.width
implicitHeight: Math.max(appIconItem.visible || imageItem.visible ? units.iconSizes.large : 0, mainLayout.height)