Answer the question
In order to leave comments, you need to log in
How to close the window correctly?
I have two windows, the first window is the privacy policy window. The second window opens when you agree to the first window. It is necessary for me that the first window would be closed right after opening of the second. I tried with QApplication::quake and firstclassname::close().
But there is a second problem, the second window does not have time to open.
I moved close to the beginning of the code and to the end and to the middle, Nothing helped.
How to SAFELY CLOSE the window and manage to open the second window.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question