Patch: Parts onload accounting

Koos Vriezen koos.vriezen at xs4all.nl
Fri Feb 21 15:15:03 GMT 2003


On Fri, 21 Feb 2003, Koos Vriezen wrote:

> Comments?

Last chunk should be
@@ -3828,6 +3839,10 @@ khtml::ChildFrame *KHTMLPart::frame( con
     FrameIt it = d->m_frames.begin();
     FrameIt end = d->m_frames.end();
     for (; it != end; ++it )
+      if ( (KParts::ReadOnlyPart *)(*it).m_part == part )
+        return &(*it);
+
+    for (it = d->m_objects.begin(); it != d->m_objects.end(); ++it )
       if ( (KParts::ReadOnlyPart *)(*it).m_part == part )
         return &(*it);

of course

> Koos
>





More information about the kfm-devel mailing list