@@ -31,26 +31,26 @@ Item {
31 height: notificationsRect.height
31 height: notificationsRect.height
32 property int index: 0
32 property int index: 0
34+ // add the default/PlaceHolder notification to the model
35+ Component.onCompleted: {
36+ var component = Qt.createComponent("Notification.qml")
37+ var n = component.createObject("notification", {"nid": index++,
38+ "type": Notification.PlaceHolder,
45+ n.completed.connect(mockModel.onCompleted)
35 id: rootRow
50 id: rootRow
37 NotificationModel {
52 NotificationModel {
38 id: mockModel
53 id: mockModel
40− // add the default/PlaceHolder notification to the model
41− Component.onCompleted: {
42− var component = Qt.createComponent("Notification.qml")
43− var n = component.createObject("notification", {"nid": index++,
44− "type": Notification.PlaceHolder,
51− n.completed.connect(mockModel.onCompleted)
56 function add2over1SnapDecisionNotification() {
56 function add2over1SnapDecisionNotification() {