diff --git a/kcms/feedback/package/contents/ui/main.qml b/kcms/feedback/package/contents/ui/main.qml --- a/kcms/feedback/package/contents/ui/main.qml +++ b/kcms/feedback/package/contents/ui/main.qml @@ -63,45 +63,44 @@ } Kirigami.FormLayout { - - QQC2.ComboBox { - id: statisticsModeCombo + QQC2.Slider { + id: statisticsModeSlider Kirigami.FormData.label: i18n("Plasma:") enabled: kcm.feedbackEnabled Layout.fillWidth: true - textRole: "text" - model: ListModel { id: modeOptions } - Component.onCompleted: { - modeOptions.append({text: i18n("Send basic system information"), value: UserFeedback.Provider.BasicSystemInformation}) - modeOptions.append({text: i18n("Send basic usage information"), value: UserFeedback.Provider.BasicUsageStatistics}) - modeOptions.append({text: i18n("Send detailed system information"), value: UserFeedback.Provider.DetailedSystemInformation}) - modeOptions.append({text: i18n("Send detailed usage information"), value: UserFeedback.Provider.DetailedUsageStatistics}) + readonly property var modeOptions: [UserFeedback.Provider.BasicSystemInformation, UserFeedback.Provider.BasicUsageStatistics, UserFeedback.Provider.DetailedSystemInformation, UserFeedback.Provider.DetailedUsageStatistics] + from: 0 + to: modeOptions.length - 1 + stepSize: 1 + snapMode: QQC2.Slider.SnapAlways - for(var i = 0, c=modeOptions.count; i