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

List:       kde-commits
Subject:    branches/KDE/4.3/kdelibs/khtml
From:       Maks Orlovich <maksim () kde ! org>
Date:       2009-10-11 17:35:32
Message-ID: 1255282532.305672.17203.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1033984 by orlovich:

Don't crash if the widget gets destroyed directly,
which happens a lot in apps like kopete and dikigam
(This does not directly destroy the view as it's not 
actually a child object)

@packagers:
If any 4.3.x packages include 1032787 --- which looks like 
some do --- then this change should also be included.

Thanks to Dario Andres for pointing out the bug to me.
BUG:209960
CCMAIL: kde-packager@kde.org



 M  +2 -1      khtml_part.cpp  


--- branches/KDE/4.3/kdelibs/khtml/khtml_part.cpp #1033983:1033984
@@ -609,7 +609,8 @@
 
   if ( d->m_view )
   {
-    widget()->hide();
+    if (widget())
+        widget()->hide();
     d->m_view->m_part = 0;
   }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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