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

List:       kde-commits
Subject:    kdelibs/kdecore
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2004-08-26 19:50:51
Message-ID: 20040826195051.27999905C () office ! kde ! org
[Download RAW message or body]

CVS commit by cullmann: 

null pointers are cool ;)


  M +6 -0      kaccelmanager.cpp   1.39


--- kdelibs/kdecore/kaccelmanager.cpp  #1.38:1.39
@@ -857,4 +857,10 @@ bool QWidgetStackAccelManager::eventFilt
 void QWidgetStackAccelManager::aboutToShow(QWidget *child)
 {
+    if (!child)
+    {
+        kdDebug(125) << "null pointer given to aboutToShow" << endl;
+        return;
+    }
+
     child->installEventFilter( this );
 }


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

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