View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#6
You define an attribute named foldersList and then you're surprised that things go wrong when you do
Code:
QListWidget *foldersList = new QListWidget();
?

foldersList will get a new value every time and it will be a local variable and not the object attribute that gets updated.
 

The Following User Says Thank You to Joorin For This Useful Post: