Hi,
i have two question:
First i have the following code (from a example) and i'm not sure why this works:
Qt Code:
Dialog *d = new Dialog(this); d->deleteLater(); d->exec(); d->getSomething();To copy to clipboard, switch view to plain text mode
I thought that deleteLater() will remove d after leaving the dialog, but the methode getSomething() still worksI'm sure its only a little misunderstanding. Could you explain me this?
Second i leave this dialog with a button which is connected to the dialog's close() slot. Is this the right way?
greetings,
kei
Bookmarks