Skip to content

containments/desktop: fix (un)check all filter buttons

Christoph Wolk requested to merge cwo/plasma-desktop:filter_model_fix into master

The filter config page has buttons to check or uncheck the filtered mimetypes if a filter is active. This works (or rather doesn't work) by reading from the filtered model using get(), which KSortFilterModel does not support.

Instead, use data() and index() to access the model.

Merge request reports

Loading