Thread
:
[Qt] Functions cannot access objects defined in the same class .. ! Possibly a bug ?
View Single Post
Joorin
2010-07-05 , 14:31
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.
Quote & Reply
|
The Following User Says Thank You to Joorin For This Useful Post:
ahmadka
Joorin
View Public Profile
Send a private message to Joorin
Find all posts by Joorin