Hi all
I got the problem where the memory leaks.
On Every double click on the QTreeWidgetItem, When I call the QuickTimeMovie Player,then every time I' ll make the new Player, due to which there is lots of memory leakage.
Window *movieWindow = new Window(0);
connect(this,
SIGNAL(movieChosen
(QString)),movieWindow,
SLOT(OpenMovie
(QString))),
movieWindow->show();
Window *movieWindow = new Window(0);
connect(this,SIGNAL(movieChosen(QString)),movieWindow,SLOT(OpenMovie(QString))),
movieWindow->show();
To copy to clipboard, switch view to plain text mode
Is there any other way , that on doubleClick on the QTreeWidgetItem, I dont have to make the new Player.
If i make it member variable, then it crashes. what to do?
Regards
Merry
Bookmarks