Patch: Crash: blocking JS alert and deleting a window

Harri Porten porten at kde.org
Fri Oct 18 17:26:46 BST 2002


On Fri, 18 Oct 2002, Koos Vriezen wrote:

> On Fri, 18 Oct 2002, David Faure wrote:
> 
> > But globally, I'm very surprised that simply hiding modal dialogs is enough.
> > Does that make their exec() call return?
> 
> qt-copy/src/dialogs/qdialog.cpp:704
> void QDialog::hide()
> ...
>     QWidget::hide();
>     if ( in_loop ) {
>         in_loop = FALSE;
>         qApp->exit_loop();
>     }
> 
> I thinks so.

A close() call may still be safer.

Harri.







More information about the kfm-devel mailing list