Quote Originally Posted by Spitfire View Post
My bad, need to read the error to the end next time
Drop the () from Inicio.
Qt Code:
  1. Inicio d;
  2. if(d.exec())
  3. ...
To copy to clipboard, switch view to plain text mode 

and use [CODE] tags.
This works, but now I when I click a button from QDialog closes the application.
And instead of closing the application you want to open the MainWindow.

How do I make it?