From acf7da91ccd349c4d596282efbbd5c3c5a745bb9 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Fri, 13 Oct 2023 14:02:01 -0600 Subject: [PATCH] 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 --- src/kcms/desktop/ui/main.qml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/kcms/desktop/ui/main.qml b/src/kcms/desktop/ui/main.qml index 37cdfd006b..577a73a87f 100644 --- a/src/kcms/desktop/ui/main.qml +++ b/src/kcms/desktop/ui/main.qml @@ -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 {