hi
I m using recursivly loading directory method in Run() function of QThread.
i m giving definiton of this method in other class and displaying in treeWidget.
when i m calling this method using object of this class in Run() method it becomes crashed...
void class::Run()
{
otherclass *obj;
while(!bFalse)
{
obj->method(QString path);
}
}
here while loop is better or if else.
can u give me suggestions that why this happens..can I use Gui classes in QThread or not...
Bookmarks