[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: branches/KDE/3.5/kdelibs/khtml
From: David Faure <faure () kde ! org>
Date: 2005-08-16 15:37:13
Message-ID: 200508161836.47273.faure () kde ! org
[Download RAW message or body]
On Tuesday 16 August 2005 12:13, Andras Mantia wrote:
> > On Tuesday 16 August 2005 12.17, David Faure wrote:
> >> > SVN commit 449438 by kling:
> >> >
> >> > Make sure there's a defaultHTMLSettings() around when fetching
> >> > accessKeysEnabled setting. Should unbreak Quanta, as discussed on
> >> > kfm-devel.
> >> >
> >>
> >> Shouldn't this new+delete only be done when defaultHTMLSettings() is 0?
> >
> > You are probably very right. :-)
> >
>
> No, that would reintroduce the crash. defaultHTMLSettings() starts with an
> "assert(s_self);". The whole KHTMLFactory class is strange for me as it
> has static methods that cannot be called unless you create an instance.
OK, try
KHTMLFactory::ref();
... defaultHTMLSettings() ...
KHTMLFactory::deref();
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic