From 4e0c064056c23aabc053dc4a54d82ff1dceaf6a9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:28:27 +0000 Subject: Fix kdewebdev FTBFS git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237033 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/compatibility/kmdi/qextmdi/kmdichildview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/compatibility/kmdi') 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::sender())); if ( pLostChild && ( pLostChild->isWidgetType() ) ) { TQObjectList* list = ( ( TQObject* ) ( pLostChild ) ) ->queryList( TQWIDGET_OBJECT_NAME_STRING ); -- cgit v1.2.1