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

List:       kde-commits
Subject:    branches/work/kde4/kdelibs/kdecore
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-07-15 13:20:01
Message-ID: 1121433601.414710.1589.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 434808 by orlovich:

Remove a broken and pointless "cleanup", and make konqueror
a bit more stable.
Hint: qobject_cast or dynamic_cast on sender() when handling destroyed() 
is nonsense, as everything is a QObject at that point, anyway!


 M  +1 -1      kapplication.cpp  


--- branches/work/kde4/kdelibs/kdecore/kapplication.cpp #434807:434808
@@ -423,7 +423,7 @@
 
 void KApplication::x11FilterDestroyed()
 {
-    removeX11EventFilter( qobject_cast< const QWidget* >( sender()));
+    removeX11EventFilter( static_cast< const QWidget* >( sender()));
 }
 
 void KApplication::removeX11EventFilter( const QWidget* filter )
[prev in list] [next in list] [prev in thread] [next in thread] 

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