diff options
author | Peter Yard <peter.yard@nokia.com> | 2009-07-24 00:49:35 (GMT) |
---|---|---|
committer | Peter Yard <peter.yard@nokia.com> | 2009-07-24 00:49:35 (GMT) |
commit | 851fc0fdb1dcb54cbde82ffad0b54cfe3f896b83 (patch) | |
tree | c210d608a3592cabffc15e957f41a1b286604efa /src/corelib/kernel | |
parent | e37d314eb3e5b26b271aa5ec17dac1f2e8e16a45 (diff) | |
download | Qt-851fc0fdb1dcb54cbde82ffad0b54cfe3f896b83.zip Qt-851fc0fdb1dcb54cbde82ffad0b54cfe3f896b83.tar.gz Qt-851fc0fdb1dcb54cbde82ffad0b54cfe3f896b83.tar.bz2 |
#159306 QAbstractItemModel::reset Doc change
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qabstractitemmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/kernel/qabstractitemmodel.cpp b/src/corelib/kernel/qabstractitemmodel.cpp index 1c3371f..3d9263e 100644 --- a/src/corelib/kernel/qabstractitemmodel.cpp +++ b/src/corelib/kernel/qabstractitemmodel.cpp @@ -2278,7 +2278,8 @@ void QAbstractItemModel::endRemoveColumns() \note The view to which the model is attached to will be reset as well. When a model is reset it means that any previous data reported from the - model is now invalid and has to be queried for again. + model is now invalid and has to be queried for again. This also means + that the current item and any selected items will become invalid. When a model radically changes its data it can sometimes be easier to just call this function rather than emit dataChanged() to inform other |