[Qt-interest] childCount()
Srdjan Todorovic
todorovic.s at googlemail.com
Fri Jul 31 10:43:16 CEST 2009
Hi,
On 31/07/2009, Sujan Dasmahapatra <sujan.dasmahapatra at gmail.com> wrote:
> Dear Friends
> After I added a child TreeWidgetItem into an existing TreeWidgetItem but the
> value of childCount() is not updated. What could be the reason can anyone
> tell me ?
How are you adding the new QTreeWidgetItem?
Just to confirm, you are calling childCount() on the *parent* of the
item you added to?
Srdjan
More information about the Qt-interest-old
mailing list