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:
parent
8cf3ad8d3b
commit
acf7da91cc
1 changed files with 2 additions and 5 deletions
|
@ -151,11 +151,8 @@ KCM.ScrollViewKCM {
|
||||||
label: i18n("Row %1", section)
|
label: i18n("Row %1", section)
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate: Kirigami.DelegateRecycler {
|
delegate: desktopsListItemComponent
|
||||||
width: desktopsList.width
|
reuseItems: true
|
||||||
|
|
||||||
sourceComponent: desktopsListItemComponent
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer: ColumnLayout {
|
footer: ColumnLayout {
|
||||||
|
|
Loading…
Reference in a new issue