Hide(); the dialog after the exec(); of the second .
-
@
this->hide();
Dialog dialog;
dialog.setModal(true);
dialog.exec();
@my program is great , i want the hide(); execute after dialog.exec(); because i can see my desktop between the hide of the first and the show of the second , thank you .
-
Create the dialog, do a show of it, then a hide of the first and the exec of the second:
@
Dialog dialog(this);
dialog.setModal(true);
this->hide();
dialog.exec();
@ -
same problem :/