Patch KParts::StatusBarExtension...

Dawit A adawit at
Mon Mar 1 04:02:05 GMT 2010


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.

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: <>

More information about the kde-core-devel mailing list