Try QSortFilterProxyModel, or if that's a QSqlQueryModel, maybe you could do the filtering on the database side?
The Thread was a try to speed up the action.
The problem of try the db side is that I only want to hide the rows, not remove it. And yes it's a QSqlQueryModel derived class. (QODBC MSAccess conection)
Bookmarks