I have a modeless QDialog owned by a QGraphicsScene. All works well, but if I close the main application while the dialog is showing, the dialog persists unless I manually close it. I've tried calling close(), accept() and other likely functions from the scene's destructor, to no avail.
What do I have to do to have this dialog close when the application shuts down?
Bookmarks