Commit ab0c3121 authored by Nate Graham's avatar Nate Graham
Browse files

Revert "ScreenChooserDialog: make it obvious that they're checkable"

This reverts commit cb259cee.

Unfortunately this was not ported correctly, and clicking the checkbox
didn't actually update the checked status. Trying to fix that revealed
deficiencies in the library component itself. Revert for now to avoid
regressions.
parent cb259cee
Pipeline #125339 passed with stage
in 49 seconds
......@@ -58,9 +58,10 @@ PWD.SystemDialog
ListView {
id: outputsView
model: null
delegate: Kirigami.CheckableListItem {
delegate: Kirigami.BasicListItem {
icon: model.decoration
label: model.display
highlighted: false
checked: model.checked === Qt.Checked
onClicked: {
var to = model.checked !== Qt.Checked ? Qt.Checked : Qt.Unchecked;
......@@ -76,9 +77,10 @@ PWD.SystemDialog
ListView {
id: windowsView
model: null
delegate: Kirigami.CheckableListItem {
delegate: Kirigami.BasicListItem {
icon: model.DecorationRole
label: model.DisplayRole
highlighted: false
checked: model.checked === Qt.Checked
onClicked: {
var to = model.checked !== Qt.Checked ? Qt.Checked : Qt.Unchecked;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment