@@ -28,7 +28,6 @@ UbuntuShape {
28 property var actions
28 property var actions
29 property var notificationId
29 property var notificationId
30 property var type
30 property var type
31− property var notificationobj
33 signal actionInvoked(string buttonId)
32 signal actionInvoked(string buttonId)
@@ -47,7 +46,7 @@ UbuntuShape {
47 anchors.fill: contentColumn
46 anchors.fill: contentColumn
48 objectName: "interactiveArea"
47 objectName: "interactiveArea"
49 enabled: notification.type == Notification.Interactive
48 enabled: notification.type == Notification.Interactive
50− onClicked: notification.notificationobj.invokeAction(actionRepeater.model.actionId(0))
49+ onClicked: notificationRenderer.model.get(notificationId).invokeAction(actionRepeater.model.actionId(0))
@@ -153,7 +152,7 @@ UbuntuShape {
153 width: (buttonRow.width - buttonRow.spacing) / 2
152 width: (buttonRow.width - buttonRow.spacing) / 2
154 height: units.gu(4)
153 height: units.gu(4)
155 text: label
154 text: label
156− onClicked: notification.notificationobj.invokeAction(id)
155+ onClicked: notificationRenderer.model.get(notificationId).invokeAction(id)