summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:28:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:28:27 +0000
commit4e0c064056c23aabc053dc4a54d82ff1dceaf6a9 (patch)
treec2a0bc81ec5b2c34b7c4b99702daadb4b690fc21
parentac5fc7f293768c7dfa9c37b525871704bdc7f43e (diff)
downloadtdewebdev-4e0c064056c23aabc053dc4a54d82ff1dceaf6a9.tar.gz
tdewebdev-4e0c064056c23aabc053dc4a54d82ff1dceaf6a9.zip
Fix kdewebdev FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237033 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--lib/compatibility/kmdi/qextmdi/kmdichildview.cpp2
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 );