[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Page is not reloaded in a KHTML part
From:       Tobias Anton <TA () ESC-Electronics ! de>
Date:       2004-03-12 10:06:42
Message-ID: 200403121106.42735.TA () ESC-Electronics ! de
[Download RAW message or body]

On Donnerstag, 11. März 2004 13:47, Andras Mantia wrote:
> On Thursday 11 March 2004 13:46, you wrote:
> > > If the above one is the reason of the problem, I think it makes sense
> > > to use some flag and use the cache only if the file was completely
> > > loaded.
> >
> > No, I think the existing set of flags and variables is completely
> > sufficient to determine whether the request is still running. Examine for
> > example d->m_workingURL, d->m_bComplete, d->m_doc->parsing() and things
> > like that.
>
> I don't know the internals, but if you say those are enough, it's good. :-)

Actually, if the job fetching the page itself terminates, slotFinished() or so 
is called, which, in turn, sets d->m_job to NULL. So, I'd propose to change 
setEncoding() so that the caching policy is only changed if it d->m_job is 
NULL.

Tobias

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic