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
> >closeEvent,>
> > 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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to