Hi
Really , i am not guessing.Run your application via debugger and see the backtrace. Don't try to guess the reason. Use available tools to conclude the reason.
Actually , I already told you that I am having a Widget , in Which there is a QTreeWidget, and when i double click on the QTreeWidgetItem ,i make the moviePlayer widget visible,
To set the moviePlayer widget modality , I use
due to which the Close button on the upperLeft corner dissapears. and for closing the moviePlayerwidget, I usemoviePlayerwidget->setModality(QApplication::Modal)
, using thisconnect(btn_close, SIGNAL(clicked()), this, SLOT(close()));
the process crashes.
But , if I wont set the modality , then the Close button on the upperLeft corner is visible,
and when i use Close button on the upperLeft corner to close, It not crashes,
I dont understand the difference between the two closes ,
Or
Tell me the other alternative , that without setting the modality ,moviePlayerWidget comes over the other widget. , because If I wont set the modality of moviePlayerWidget, It comes behind the other widget.
Hope so now you understand my problem.
Thanx
Bookmarks