How delete and deleteLater works with regards to signals and slots in Qt?
Deleting QObjects is usually safe (i.e. in normal practice; there might be pathological cases I am not aware of atm), if you follow two basic rules: Never delete an object in a slot or method that is called directly or indirectly by a (synchronous, connection type “direct”) signal from the object to be deleted. E.g. … Read more