Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.8.1
-
None
Description
Setting true/false values in filterAcceptsRow does not correctly set items visible.
I have provided an example that shows the issue
Simple list of items, each with a filename and rating. ratings are 0-5, 0 is unrated.
RatingFilterProxyModel filter based on ratings with a QSet.
In main, use check box to select on or more rating to show. If no ratings are checked, all items are displayed.
filterAcceptsRow in RatingFilterProxyModel prints out return values
Each items uses its row 0-5, for its rating.