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

List:       kde-bugs-dist
Subject:    [Bug 58946] Reproducible crash when touching picture
From:       George Staikos <staikos () kde ! org>
Date:       2003-05-25 22:13:18
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=58946     
staikos@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos@kde.org  2003-05-26 00:13 -------
Subject: KDE_3_1_BRANCH: kdelibs/khtml

CVS commit by staikos: 

CCMAIL: 58946-done@bugs.kde.org

Don't crash


  M +6 -2      khtml_part.cpp   1.770.2.22


--- kdelibs/khtml/khtml_part.cpp  #1.770.2.21:1.770.2.22
@@ -4968,10 +4968,14 @@ void KHTMLPart::slotActiveFrameChanged( 
     if( d->m_activeFrame && !d->m_activeFrame->inherits( "KHTMLPart" ) )
     {
+        if (factory()) {
         factory()->removeClient( d->m_activeFrame );
+        }
         removeChildClient( d->m_activeFrame );
     }
     if( part && !part->inherits( "KHTMLPart" ) )
     {
+        if (factory()) {
         factory()->addClient( part );
+        }
         insertChildClient( part );
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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