there will be some case when i have to delete the complete pointers in gui and set them fresh, if some things are changed from shell.
Then if an operation is already running in gui, the gui crashes
there will be some case when i have to delete the complete pointers in gui and set them fresh, if some things are changed from shell.
Then if an operation is already running in gui, the gui crashes
So you have to either wait for the GUI to finish or make the GUI delete those objects when it doesn't need them anymore.Originally Posted by sreedhar
sreedhar (28th June 2006)
http://doc.trolltech.com/4.1/qobject.html#deleteLater
for any object that are extend from QObject, use the deleteLater function rather than directly use the [delete] operator
sreedhar (28th June 2006)
Bookmarks