PDA

View Full Version : Problem adding items with icons to a non-visible QListWidget



Asfer
20th February 2010, 10:46
Hi,

I have a simple application with two tabs. In one of the tabs I have
a QListWidget.

If I add several QListWidgetItems to the list all with different icons, the
icons are not displayed correctly (shown with noise) if the tab that
contains the list is not selected when the addItem() method is called.

Is this a bug?

Asfer
22nd February 2010, 11:53
Nevermind, I was not creating the icons correctly.