[patch] non-blocking messagebox.

David Faure dfaure at klaralvdalens-datakonsult.se
Sun Sep 14 16:34:45 BST 2003


On Sunday 14 September 2003 15:15, David Faure wrote:
> 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.

KMessageBox::queuedMessageBox is in fact a better solution
(when only single-button message boxes are being shown)

-- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions




More information about the kde-core-devel mailing list