kcm/rules: Port away from Kirigami.AbstractListItem

It's being removed for KF6 and ItemDelegate works fine here.
This commit is contained in:
Nate Graham 2023-10-31 14:05:20 -06:00
parent 5f9983c4ee
commit 85008c4a0d
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ import QtQuick.Controls as QQC2
import org.kde.kirigami 2.10 as Kirigami
import org.kde.kcmutils as KCM
Kirigami.AbstractListItem {
QQC2.ItemDelegate {
id: ruleDelegate
property bool ruleEnabled: model.enabled

View file

@ -192,7 +192,7 @@ KCM.ScrollViewKCM {
}
}
delegate: Kirigami.AbstractListItem {
delegate: QQC2.ItemDelegate {
id: propertyDelegate
highlighted: false
width: ListView.view.width