From 399d7f19ea356a29933b5a08d66b791061586c87 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 28 Aug 2009 09:56:07 +0200 Subject: Documentation of QAbstractProxyModel::reset Rectification after the last merge request integration Reviewed-by: Thierry --- src/corelib/kernel/qabstractitemmodel.cpp | 5 ++--- 1 file 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() { -- cgit v0.12