From 32260be05e62f5e1f7a83007f1d2486bccfacf86 Mon Sep 17 00:00:00 2001 From: Swapnil Tripathi Date: Sun, 4 Jul 2021 08:44:11 +0530 Subject: [PATCH] Remove ScrollView --- src/qml/Playback.qml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/qml/Playback.qml b/src/qml/Playback.qml index a3891ca5..f0461155 100644 --- a/src/qml/Playback.qml +++ b/src/qml/Playback.qml @@ -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(); } } }