PDA

View Full Version : QTreeWidgetItem NULL(Solved)



^NyAw^
26th October 2009, 11:37
Hi,

I have this piece of code:


pqItem = m_pqTreeWidget->topLevelItem(0);
if (pqItem != NULL)
bItemNull == false;
else
bItemNull == true;
The problem is that "pqItem" is NULL(0x00000000) but the "else" statment is never called.
Anyone have experienced similar a problem?

I'm using Qt 4.3.0 and Visual Studio .NET 2003

Thanks,


SORRY:


bItemNull == false;


Writing too fast.:rolleyes: