Hello *,
I have a subclass of a QSortFilterProxyModel which I use for filtering of a large amount of data (~ 200.000 entries). Every time the filter routine has finished I used to call reset() so that the view would reload the data. I used reset() instead of invalidateFilter() because the documentation explicitly suggests that:
However, since I upgraded to Qt 4.7 this approach doesn't work anymore. The view does not request any data after the model-reset has been performed. invalidateFilter() works for me, but is very slow in comparison with the version that uses reset(). I found out that invalidate() does the job and is considerably faster than invalidateFilter(). Does anybody have a clue why reset() is not working anymore?Originally Posted by From the Qt 4.7 documentation
Bookmarks