[PATCH] thread-safe queued KDialogs

Sebastian TrĂ¼g trueg at kde.org
Sat Nov 22 22:00:45 GMT 2008


The attached patch makes queued dialogs thread-safe. With it, queued 
KMessagesBoxes and thus, the default KMessage messasge handler.
This fixes a crash in KRunner when KMimeType tried to complain about missing 
mimetypes using KMessage which in turn uses KMessageBox which tries to open a 
QWidget from a thread which is not the GUI thread which triggers an assert. :)

May I apply?

Cheers,
Sebastian


-- 
Sebastian Trueg
Sponsored by Mandriva to work on Nepomuk-KDE.

http://nepomuk.kde.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081122/0facc8df/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdialog-thread-safe-queued-dialogs.diff
Type: text/x-patch
Size: 1700 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081122/0facc8df/attachment.bin>


More information about the kde-core-devel mailing list