summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qproxymodel.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2010-01-06 09:48:25 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-01-06 09:48:25 (GMT)
commitd149a3faca9b97ce806249bc7ef73fe2f59589d5 (patch)
tree65a4f6006c240b5e048daf235043cfcff61734f3 /src/gui/itemviews/qproxymodel.h
parentdbc4a07327e0c306eb84a65ae7fa98bdb36c6ad0 (diff)
downloadQt-d149a3faca9b97ce806249bc7ef73fe2f59589d5.zip
Qt-d149a3faca9b97ce806249bc7ef73fe2f59589d5.tar.gz
Qt-d149a3faca9b97ce806249bc7ef73fe2f59589d5.tar.bz2
Don't call invalidate when resetting the QSortFilterProxyModel.
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>
Diffstat (limited to 'src/gui/itemviews/qproxymodel.h')
0 files changed, 0 insertions, 0 deletions