Hi,
Jan wrote:
> Actually I am doing something like this. It seems to work. Though I read
> using "goto" is regarded as "bad code".
Yes it is. To avoid goto you should structure it like this.
QDialog dlg;
do
{
if (dlg.exec() != QDialog::Accepted)
return;
} while (dlg.somethingIsWrong());