summaryrefslogtreecommitdiffstats
path: root/tests/auto/modeltest/dynamictreemodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't call invalidate when resetting the QSortFilterProxyModel.Stephen Kelly2010-01-061-1/+2
| | | | | | | | | | | | | | | The invalidate connection is made before connecting the source model, which means it gets called first. If a second proxy model is used with it, the sourceLayoutAboutToBeChanged of the second proxy is therefore called before its sourceReset slot, but after the persistent indexes of the first model have been invalidated. The invalidate call is not needed because clear_mappings is called when the source model is reset anyway. Merge-request: 416 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Make sure mappings are created for columns when indexes newly become parents.Stephen Kelly2009-12-181-0/+328
Also move the modeltest related tests to the modeltest subdirectory Merge-request: 2262 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>