[Interest] delete effect not immediate QFileSystemModel
rene.reucher at batcom-it.net
Fri May 31 16:24:49 CEST 2013
On Friday 31 May 2013 07:36:02 Sujan Dasmahapatra wrote:
> I am deleting one item from QFileSystemModel but it's not updated
> immediately, when I click on other item then I can see that it's deleted
> from the model.
> QFileSystemModel *model = new QFileSystemModel;
> QTreeView *tree = new QTreeView(this);
> ////////////////////////////// This deletes the item but effect is not
> coming immediately. Please tell me what could be the problem. Any help is
> highly appreciated.
This actually *deletes* all files contained in that folder (before the folder
itself can be deleted), and this takes a little while...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest