Remove ScrollView

This commit is contained in:
Swapnil Tripathi 2021-07-04 08:44:11 +05:30 committed by Bart De Vries
parent fa65447874
commit 32260be05e

View File

@ -112,20 +112,18 @@ Loader {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.bottomMargin: Kirigami.Units.largeSpacing * 2 Layout.bottomMargin: Kirigami.Units.largeSpacing * 2
} }
Controls.ScrollView { ListView {
id: playbackRateList
model: playbackRateModel
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
ListView { delegate: Kirigami.BasicListItem {
id: playbackRateList contentItem: Controls.Label {
model: playbackRateModel text: model.name
delegate: Kirigami.SwipeListItem { }
contentItem: Controls.Label { onClicked: {
text: model.name AudioManager.playbackRate = value;
} close();
onClicked: {
AudioManager.playbackRate = value;
close();
}
} }
} }
} }