diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/package/contents/ui/Outbox.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml index 01501410..c7b1f7b0 100644 --- a/components/package/contents/ui/Outbox.qml +++ b/components/package/contents/ui/Outbox.qml | |||
@@ -39,7 +39,7 @@ ToolButton { | |||
39 | Rectangle { | 39 | Rectangle { |
40 | id: dialog | 40 | id: dialog |
41 | 41 | ||
42 | property int modelCount: 5 //FIXME replace with actual model | 42 | property int modelCount: listView.count |
43 | 43 | ||
44 | anchors { | 44 | anchors { |
45 | top: parent.bottom | 45 | top: parent.bottom |
@@ -68,7 +68,8 @@ ToolButton { | |||
68 | ListView { | 68 | ListView { |
69 | id: listView | 69 | id: listView |
70 | 70 | ||
71 | model: 5 | 71 | model: KubeFramework.OutboxModel { |
72 | } | ||
72 | 73 | ||
73 | delegate: Kirigami.AbstractListItem { | 74 | delegate: Kirigami.AbstractListItem { |
74 | 75 | ||
@@ -76,7 +77,7 @@ ToolButton { | |||
76 | 77 | ||
77 | Kirigami.Label { | 78 | Kirigami.Label { |
78 | anchors.centerIn: parent | 79 | anchors.centerIn: parent |
79 | text: "Subjext subxetson" | 80 | text: model.subject |
80 | } | 81 | } |
81 | } | 82 | } |
82 | } | 83 | } |