2
0
mirror of synced 2025-01-09 13:56:19 +00:00

feat(StatusChatList): expose statusChatListItems Repeater

Ever since we've moved to `DelegateModel` which is passed to the `Repeater`
which was previously aliased as `chatListItems`, we no longer get access to the
`model.itemAt` method. This is because `DelegateModel` doesn't have such a method.

So in order to restore that access, we have to expose `Repeater` additionally.

The reason this method is needed, is so that apps like Status Desktop can update
individual chat list items based on `Connection` events
This commit is contained in:
Pascal Precht 2021-09-17 10:06:06 +02:00 committed by Pascal Precht
parent 8820cd89be
commit 40c0e48b04

View File

@ -19,6 +19,8 @@ Column {
property alias chatListItems: delegateModel property alias chatListItems: delegateModel
property bool draggableItems: false property bool draggableItems: false
property alias statusChatListItems: statusChatListItems
property Component popupMenu property Component popupMenu
property var filterFn property var filterFn