Patch KParts::StatusBarExtension...

Dawit A adawit at kde.org
Mon Mar 1 02:19:50 GMT 2010


Hi,

The attached patch fixes crashes that occur due to unexpected deletion of the 
m_widget variable in the internal class KParts::StatusBarItem. This can happen 
when a KUrlLabel  is deleted by the application or plugin that added it to the 
status bar for example. 

The patch simply changes the m_widget variable to a QPointer to guard against 
external deletions and checks the validity of the variable before use.

Regards,
Dawit A.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kparts_statusbarextension.patch
Type: text/x-patch
Size: 816 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100228/a5a6934e/attachment.bin>


More information about the kde-core-devel mailing list