mirror of
https://github.com/KDE/kasts.git
synced 2025-01-05 21:17:30 +01:00
Remove ScrollView
This commit is contained in:
parent
fa65447874
commit
32260be05e
@ -112,20 +112,18 @@ Loader {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.bottomMargin: Kirigami.Units.largeSpacing * 2
|
||||
}
|
||||
Controls.ScrollView {
|
||||
ListView {
|
||||
id: playbackRateList
|
||||
model: playbackRateModel
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
ListView {
|
||||
id: playbackRateList
|
||||
model: playbackRateModel
|
||||
delegate: Kirigami.SwipeListItem {
|
||||
contentItem: Controls.Label {
|
||||
text: model.name
|
||||
}
|
||||
onClicked: {
|
||||
AudioManager.playbackRate = value;
|
||||
close();
|
||||
}
|
||||
delegate: Kirigami.BasicListItem {
|
||||
contentItem: Controls.Label {
|
||||
text: model.name
|
||||
}
|
||||
onClicked: {
|
||||
AudioManager.playbackRate = value;
|
||||
close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user