Hi,

I'm pretty sure I'm misinterpreting how this should work so maybe you guys can help:

I have a QObject which I would like to run a simple clean up job just before it's destroyed.
I thought I could simply do this in it's constructor:
    self.destroyed.connect(self.__cleanUp)

Then have self.__cleanUp() to the work.
However, a simple print statement inside self.__cleanUp() shows that it's never run.

What am I missing?

Thanks,
frank

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to