Since QApplication is not a QWidget, it is not strange that it doesn't have a closeEvent(). Maybe it would be an idea for you to connect to the QCoreApplication::aboutToQuit() signal.
Since QApplication is not a QWidget, it is not strange that it doesn't have a closeEvent(). Maybe it would be an idea for you to connect to the QCoreApplication::aboutToQuit() signal.
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
I just tell the main window to close(). It's sufficient in my case, may not be in yours if you have more than one.
Bookmarks