[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-22 9:00:47
Message-ID: 200508221100.51433.faure () kde ! org
[Download RAW message or body]

On Tuesday 16 August 2005 18:05, Andras Mantia wrote:
> On Tuesday 16 August 2005 19:36, David Faure wrote:
> > 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();
> 
> ::ref() and ::ref() is private, so one should use a "friend" 
> declaration. I suggested on kfm-devel to not do it that way.

I meant inside the khtml code, not in quanta.

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