Hi,
I have a QTreeWidget in my application. I load some values and icons into that tree. My code is here,
item = new QTreeWidgetItem(ManagerTree);
item->setExpanded( true );
item->setText( 0, "country" );
item->setIcon(0,QIcon("D:\Images\image.png"));
and it is working. But When i set the property
ManagerTree->setAnimated(true);
and make, then I didn't get any warning or errors. But when I run the program, it display some messages like this in my cunsol.
QPainter::begin: Cannot paint on a null pixmap
QPainter::setWorldTransform: Painter not active
QPainter::end: Painter not active, aborted
How can I solve it?
Please help me..............
Bookmarks