View Full Version : signal to dead object

10th August 2009, 09:01
Is it safe to connect a signal to a slot in an object that might be deleted by the time the signal is emitted?

I.e I want the signal to be ignored with no error message if the receiver has fallen off its perch and is pushing up the daisies. :rolleyes:

10th August 2009, 09:05
Safe !! No probs.

12th August 2009, 00:11
Unless the object gets deleted as a result of emitting a signal (i.e. in a slot connected to its own signal).