From 97062cad24d73f927f296b1eb63bb3d1901f21fd Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Thu, 9 Feb 2023 22:03:07 +0100 Subject: [PATCH] Port away from DelegateRecycler --- src/qml/QueuePage.qml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/qml/QueuePage.qml b/src/qml/QueuePage.qml index 9f6ca384..b7559721 100644 --- a/src/qml/QueuePage.qml +++ b/src/qml/QueuePage.qml @@ -42,6 +42,7 @@ Kirigami.ScrollablePage { GenericEntryListView { id: queueList + reuseItems: true isQueue: true anchors.fill: parent @@ -71,19 +72,16 @@ Kirigami.ScrollablePage { id: queueModel } - Component { - id: delegateComponent + delegate: Item { + width: queueList.width + height: entryDelegate.height GenericEntryDelegate { + id: entryDelegate isQueue: true listView: queueList } } - delegate: Kirigami.DelegateRecycler { - width: queueList.width - sourceComponent: delegateComponent - } - moveDisplaced: Transition { YAnimator { duration: Kirigami.Units.longDuration