RubyTigerSG
2nd April 2011, 11:45
Hi Gurus,
I have a gui which calls another gui like so:
if (userManager==0)
{
userManager = new UserManager();
}
userManager->show();
This then launches the user manager window. So now how do I make sure that the ~UserManager gets executed when someone closes the window by clicking on the x?
I know I should delete the reference to UserManager, but where do I do this?
Thanks a million
RT
I have a gui which calls another gui like so:
if (userManager==0)
{
userManager = new UserManager();
}
userManager->show();
This then launches the user manager window. So now how do I make sure that the ~UserManager gets executed when someone closes the window by clicking on the x?
I know I should delete the reference to UserManager, but where do I do this?
Thanks a million
RT