[Interest] Strange problem where exec() of dialogs returns immediately
thiago.macieira at intel.com
Sun Mar 11 16:51:50 CET 2012
On domingo, 11 de março de 2012 16.31.34, Nikos Chantziaras wrote:
> > * the issue I think is that you try to create a new QMessageBox in
> > thus while the parent object is being deleted. Try to set a NULL parent
> > object to this message box (just to try)
> Nah, doesn't help. closeEvent() does not delete the widget anyway.
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. Also, does the problem
go away if you don't show that file dialog?
Do you need the Application class?
I repeat what I said in the previous email: remove EVERYTHING that doesn't
cause the problem to disappear.
You should be able to make this problem with just one .cpp.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the Interest