Page is not reloaded in a KHTML part

Tobias Anton TA at ESC-Electronics.de
Fri Mar 12 10:06:42 GMT 2004


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




More information about the kfm-devel mailing list