kcms/rules: Make Comboboxes bordered again

The property `flat: true`was set since the QML redesign and remained
unnoticed because it didn't actually work.

Now that the qqc2-desktop style has been fixed and correctly draws
flat (non-bordered) comboboxes let's remove it for a nicer look
(just the same as the have had all this time)
This commit is contained in:
Ismael Asensio 2023-03-24 19:03:38 +01:00
parent ec593a2364
commit 6082de1345
2 changed files with 0 additions and 4 deletions

View file

@ -51,7 +51,6 @@ Kirigami.AbstractListItem {
Layout.preferredWidth: 50 // 50% Layout.preferredWidth: 50 // 50%
Layout.fillWidth: true Layout.fillWidth: true
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
flat: true
visible: count > 0 visible: count > 0
enabled: ruleEnabled enabled: ruleEnabled

View file

@ -96,7 +96,6 @@ Loader {
Component { Component {
id: optionEditor id: optionEditor
OptionsComboBox { OptionsComboBox {
flat: true
model: ruleOptions model: ruleOptions
onActivated: (index) => { onActivated: (index) => {
valueEditor.valueEdited(currentValue); valueEditor.valueEdited(currentValue);
@ -107,7 +106,6 @@ Loader {
Component { Component {
id: netTypesEditor id: netTypesEditor
OptionsComboBox { OptionsComboBox {
flat: true
model: ruleOptions model: ruleOptions
multipleChoice: true multipleChoice: true
// Filter the provided value with the options mask // Filter the provided value with the options mask
@ -122,7 +120,6 @@ Loader {
id: optionListEditor id: optionListEditor
OptionsComboBox { OptionsComboBox {
id: optionListCombo id: optionListCombo
flat: true
model: ruleOptions model: ruleOptions
multipleChoice: true multipleChoice: true