qapplication_win.cpp patch

Andreas Hausladen Andreas.Hausladen at gmx.de
Mon May 16 01:13:26 CEST 2005


The attached patch fixes an access violation when you want to show a 
modal widget but create a new child widget in the paint event. The issue 
is that the qt_try_modal() and tryModalHelper() functions do not test 
for "widget != null" and so tryModalHelper() crashes in that special case.


Regards,
Andreas Hausladen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qapplication_win.cpp.patch
Url: http://mail.kde.org/pipermail/kde-cygwin/attachments/20050516/687558a0/qapplication_win.cpp.ksh


More information about the kde-cygwin mailing list