uglykid
21st November 2007, 15:33
Hi,
little problem:
i have a simple treewidgetitem struct of depth 3:
<L-01>
|---<L-11>
| |----<L-21>
|
|
<L-02>
...
As soon as i call
<L-01>->removeChild(<L-11>)
and afterwards ...
<L-02>->addChild( <L-11> )
<L-21> is no longer listed as a child of the "new" reparented <L-11> ...it seems to be lost!
Am i doing anything wrong here?
-frank
little problem:
i have a simple treewidgetitem struct of depth 3:
<L-01>
|---<L-11>
| |----<L-21>
|
|
<L-02>
...
As soon as i call
<L-01>->removeChild(<L-11>)
and afterwards ...
<L-02>->addChild( <L-11> )
<L-21> is no longer listed as a child of the "new" reparented <L-11> ...it seems to be lost!
Am i doing anything wrong here?
-frank