Thread
:
[Qt] Functions cannot access objects defined in the same class .. ! Possibly a bug ?
View Single Post
Joorin
2010-07-05 , 14:10
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#
4
Scope is a semantic property, getting a segmentation fault when accessing an attribute is something else.
Please supply the code where you "initialize foldersList in the browseFolders() function". Most likely you're not allocating memory in the way you're expecting to.
Also, make sure you're using the same object instance when initializing and referencing.
Quote & Reply
|
Joorin
View Public Profile
Send a private message to Joorin
Find all posts by Joorin