kcms/desktop: port away from Kirigami.DelegateRecycler

It was removed for KF6. Instead, set reuseItems: true, which is the
upstream-friendly way to do the same thing.

BUG: 475544
This commit is contained in:
Nate Graham 2023-10-13 14:02:01 -06:00
parent 8cf3ad8d3b
commit acf7da91cc

View file

@ -151,11 +151,8 @@ KCM.ScrollViewKCM {
label: i18n("Row %1", section)
}
delegate: Kirigami.DelegateRecycler {
width: desktopsList.width
sourceComponent: desktopsListItemComponent
}
delegate: desktopsListItemComponent
reuseItems: true
}
footer: ColumnLayout {