[PATCH] KDirModel behavior when files are removed
Matt Rogers
mattr at kde.org
Sat Sep 22 14:53:31 BST 2007
On Saturday 22 September 2007 08:12:24 am Aurélien Gâteau wrote:
> Hello,
>
> When KDirModel is notified by KDirLister that an item has been removed (in
> KDirModel::slotDeleteItem()), it removes items from its internal storage
> *before* calling beginRemoveRows(). This makes it impossible to get the
> KFileItem from an index in a view which reimplements
> rowsAboutToBeRemoved().
>
> Attached patch fix this. Is it ok to apply?
>
> Aurélien
Patch looks fine to me.
--
Matt
More information about the kde-core-devel
mailing list