[Interest] Strange problem where exec() of dialogs returns immediately
realnc at gmail.com
Sun Mar 11 17:45:50 CET 2012
On 11/03/12 18:33, Thiago Macieira wrote:
> On domingo, 11 de março de 2012 18.25.58, Nikos Chantziaras wrote:
>>> But it is the creation of that message box that causes the problem, right?
>>> Try removing the message box and you'll see it works again.
>> Of course if I remove the message box the bug doesn't trigger, because
>> the point of this is that exec() returns immediately. If I remove the
>> message box, there's no call to exec().
>> I'm reporting a problem with exec(), not the absence of one when not
>> using exec()
> It looks like you forgot to accept the close event and pass it to the
> QMainWindow class. It will not close unless you let it close.
I suspect that you didn't look at the code.
More information about the Interest