Hi everybody..
QT: 4.1.3
I would like to run a function before i close my window (QMainWindow) like this and it is not working.
Can somebody see why?
Qt Code:
MainWindow::MainWindow() { ui.setupUi(this); . . . connect(this, SIGNAL(close()), this, SLOT(deletePicture()));To copy to clipboard, switch view to plain text mode
Bookmarks