mirror of
https://github.com/KDE/kasts.git
synced 2025-01-07 05:56:31 +01:00
Remove ScrollView
This commit is contained in:
parent
fa65447874
commit
32260be05e
@ -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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user