diff options
Diffstat (limited to 'lib/compatibility/kmdi/qextmdi')
-rw-r--r-- | lib/compatibility/kmdi/qextmdi/kmdichildview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compatibility/kmdi/qextmdi/kmdichildview.cpp b/lib/compatibility/kmdi/qextmdi/kmdichildview.cpp index ba80552a..02400c4d 100644 --- a/lib/compatibility/kmdi/qextmdi/kmdichildview.cpp +++ b/lib/compatibility/kmdi/qextmdi/kmdichildview.cpp @@ -492,7 +492,7 @@ void KMdiChildView::slot_childDestroyed() // if we lost a child we uninstall ourself as event filter for the lost // 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() ) ) { TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( TQWIDGET_OBJECT_NAME_STRING ); |