Qt close a running window through code

Viewed 42832

I have a program that opens another window and i want the old window to close. Is there some function or something that would close the window through the code but keep the other window running?

4 Answers
Related