[patch] non-blocking messagebox.

Olivier Goffart ogoffart at tiscalinet.be
Sun Sep 14 19:35:03 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Dimanche 14 Septembre 2003 15:15, David Faure a écrit :
> On Sunday 14 September 2003 14:17, Olivier Goffart wrote:
> > Often I already has some crash in my application due indirectly to an
> > error message, or an information messagebox.
> >
> > The problem is that calling a dialog with exec() call
> > QApplication::enter_loop()  and it this loop, some components can be
> > deleted, specialy the class which call the dialog.
>
> You can use something like KHTMLView::closeChildDialogs() to solve that
> problem, BTW.

That will not work in the case of kopete, because since kopete plugin have no 
ui, messagebox have no parents. (and i don't think closing all dialog 
automaticaly is a good solution, specialy when the object is deleted few 
seconds later)
also in the case of the bug 63524 this is certenly because some variables have 
not been correctly reinitialized.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/ZLTez58lY8jWrL0RAqKZAJsH5DoPY2BD56YvVOYLr/8fJ4sOBACbBbp5
g/IbBwiVCBwXg9lGKKa5jyQ=
=uhSp
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list