Patch KParts::StatusBarExtension...
David Faure
faure at kde.org
Mon Mar 1 13:31:21 GMT 2010
On Monday 01 March 2010, Dawit A wrote:
> 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.
Yes I think this would be a good idea.
This would fix bug 221758 (which good erroneously merged into 228255)
(I fixed the JSError case, but not the wallet-bar case).
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
More information about the kde-core-devel
mailing list