diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 02:23:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 02:23:08 +0000 |
commit | bfb063893534c33acd9abd340c80979205dc82f9 (patch) | |
tree | 75f450e2d7a85066bbff654b0a8f014e240197aa /kmdi | |
parent | ccb3b5e486e55a0b014cbc3357c209c3d822ed47 (diff) | |
download | tdelibs-bfb063893534c33acd9abd340c80979205dc82f9.tar.gz tdelibs-bfb063893534c33acd9abd340c80979205dc82f9.zip |
[CRITICAL] Repair borken rendering due to incorrect inherited object logic
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1181768 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmdi')
-rw-r--r-- | kmdi/kmdichildfrm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmdi/kmdichildfrm.cpp b/kmdi/kmdichildfrm.cpp index 3c33e1cc5..f471cf6c3 100644 --- a/kmdi/kmdichildfrm.cpp +++ b/kmdi/kmdichildfrm.cpp @@ -899,7 +899,7 @@ void KMdiChildFrm::linkChildren( TQDict<FocusPolicy>* pFocPolDict ) if ( pFocPol != 0 ) widg->setFocusPolicy( *pFocPol ); - if ( !( widg->inherits( "TQPopupMenu" ) ) ) + if ( !( widg->inherits( "QPopupMenu" ) ) ) widg->installEventFilter( this ); } @@ -1155,7 +1155,7 @@ bool KMdiChildFrm::eventFilter( TQObject *obj, TQEvent *e ) // if we lost a child we uninstall ourself as event filter for the lost // child and its children TQObject* pLostChild = ( ( TQChildEvent* ) e )->child(); - if ( ( pLostChild != 0L ) /*&& (pLostChild->inherits("TQWidget"))*/ ) + if ( ( pLostChild != 0L ) /*&& (pLostChild->inherits("QWidget"))*/ ) { TQObjectList* list = pLostChild->queryList(); list->insert( 0, pLostChild ); // add the lost child to the list too, just to save code |