summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-08-28 07:56:07 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-08-28 09:34:25 (GMT)
commit399d7f19ea356a29933b5a08d66b791061586c87 (patch)
tree502fae70724c48bb6992abf44bf0d777d1872cfb /src/corelib/kernel
parent4d197ec0eaeae61499d8ee6dc0e98147800f583e (diff)
downloadQt-399d7f19ea356a29933b5a08d66b791061586c87.zip
Qt-399d7f19ea356a29933b5a08d66b791061586c87.tar.gz
Qt-399d7f19ea356a29933b5a08d66b791061586c87.tar.bz2
Documentation of QAbstractProxyModel::reset
Rectification after the last merge request integration Reviewed-by: Thierry
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qabstractitemmodel.cpp5
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()
{