@@ -39,8 +39,6 @@ Item {
39 NotificationModel {
39 NotificationModel {
40 id: mockModel
40 id: mockModel
42− signal actionInvoked(string actionId)
44 // add the default/PlaceHolder notification to the model
42 // add the default/PlaceHolder notification to the model
45 Component.onCompleted: {
43 Component.onCompleted: {
46 var component = Qt.createComponent("Notification.qml")
44 var component = Qt.createComponent("Notification.qml")
@@ -550,6 +548,7 @@ Item {
550 function test_NotificationRenderer(data) {
548 function test_NotificationRenderer(data) {
551 // hook up notification's completed-signal with model's onCompleted-slot, so that remove happens on close()
549 // hook up notification's completed-signal with model's onCompleted-slot, so that remove happens on close()
552 data.n.completed.connect(mockModel.onCompleted)
550 data.n.completed.connect(mockModel.onCompleted)
551+ data.n.actionInvoked.connect(mockModel.actionInvoked)
554 // populate model with some mock notifications
553 // populate model with some mock notifications
555 mockModel.append(data.n)
554 mockModel.append(data.n)