Hello. I have a QMainWindow with a few layers of subwidgets. One of the deeper ones needs to know when the application is closed.
Its destructor isn't called. Its closeEvent isn't called. I've tried setting WA_DestroyOnClose. (The main window is being closed by clicking the X, but I need to capture all reasons of closing/destroying, which is why I wanted to use the destructor.)
What's going on?
Thanks for reading.
Bookmarks