did that. No change. I still have to close it manually with the X button.
did that. No change. I still have to close it manually with the X button.
Shouldn't you
Qt Code:
whatever->setAttribute(Qt::WA_DeleteOnClose) connect(newui.updateButton, SIGNAL(clicked()), this, SLOT(close()));To copy to clipboard, switch view to plain text mode
fnmblot
--------------------------------------
Gee Ricky, I'm sorry your mom blew up.
I guess it should be
after you have setup the gui, but you can do it also inside the Designer...Qt Code:
connect(newui.updateButton, SIGNAL(clicked()), &dlg, SLOT(close()));To copy to clipboard, switch view to plain text mode
Bookmarks