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 ); }