diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-28 07:56:07 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-28 09:34:25 (GMT) |
commit | 399d7f19ea356a29933b5a08d66b791061586c87 (patch) | |
tree | 502fae70724c48bb6992abf44bf0d777d1872cfb | |
parent | 4d197ec0eaeae61499d8ee6dc0e98147800f583e (diff) | |
download | Qt-399d7f19ea356a29933b5a08d66b791061586c87.zip Qt-399d7f19ea356a29933b5a08d66b791061586c87.tar.gz Qt-399d7f19ea356a29933b5a08d66b791061586c87.tar.bz2 |
Documentation of QAbstractProxyModel::reset
Rectification after the last merge request integration
Reviewed-by: Thierry
-rw-r--r-- | src/corelib/kernel/qabstractitemmodel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/corelib/kernel/qabstractitemmodel.cpp b/src/corelib/kernel/qabstractitemmodel.cpp index 2175542..5e8848b 100644 --- a/src/corelib/kernel/qabstractitemmodel.cpp +++ b/src/corelib/kernel/qabstractitemmodel.cpp @@ -2769,10 +2769,9 @@ void QAbstractItemModel::endMoveColumns() /*! Resets the model to its original state in any attached views. - Use beginResetModel() and endResetModel() instead whenever possible. If usng this method, the modelAboutToBeReset signal will - not function as expected through proxy models. - + \note Use beginResetModel() and endResetModel() instead whenever possible. Use this method only if there is no way to call beginResetModel() before invalidating the model. + Otherwise it could lead to unexcpected behaviour, especially when used with proxy models. */ void QAbstractItemModel::reset() { |