raphaelf
31st August 2006, 09:14
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?
MainWindow::MainWindow()
{
ui.setupUi(this);
.
.
.
connect(this, SIGNAL(close()), this, SLOT(deletePicture()));
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?
MainWindow::MainWindow()
{
ui.setupUi(this);
.
.
.
connect(this, SIGNAL(close()), this, SLOT(deletePicture()));