Hi all

Working on Qt4.1

I have a LinkList of Items which I m showing in QTreeWidget.

What I anm doing is this when I double click a item in the treeWidget I m clearing a tree and showing the child of that QTreeWidgetItem which are in Linked List.

But as QtreeWidget->clear() takes some time to clear a treeWidget if I emit the signal to show its child then it get crashed.

So I want that once the treeWidget is cleared then i emit the signal to add new item on the same tree.

and the application crashes only when i am clearing the treeWidget.

What can i do , pls help

Regards