Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.11.3
-
None
Description
When I tried to know the number of rows of proxy model in filterAcceptRows method, program crashed due to stack out of memory. A little digging in code of proxy model points me to undocumented behavior of rowCount. Signature of this method tells us that it should not modify its own data, however it does some remapping. For me, it looks like hack for always getting actual model state and I think it should be documented somehow.
P.S.: I believe that making remapping in const method's is bad solution.