|
|
@ -492,7 +492,7 @@ void KMdiChildView::slot_childDestroyed()
|
|
|
|
|
|
|
|
|
|
|
|
// if we lost a child we uninstall ourself as event filter for the lost
|
|
|
|
// if we lost a child we uninstall ourself as event filter for the lost
|
|
|
|
// child and its tqchildren
|
|
|
|
// child and its tqchildren
|
|
|
|
const TQObject * pLostChild = TQT_TQOBJECT(TQT_BASE_OBJECT_NAME::sender());
|
|
|
|
const TQObject * pLostChild = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(TQT_BASE_OBJECT_NAME::sender()));
|
|
|
|
if ( pLostChild && ( pLostChild->isWidgetType() ) )
|
|
|
|
if ( pLostChild && ( pLostChild->isWidgetType() ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( TQWIDGET_OBJECT_NAME_STRING );
|
|
|
|
TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( TQWIDGET_OBJECT_NAME_STRING );
|
|
|
|