diff options
Diffstat (limited to 'kmdi/kmdichildfrm.cpp')
-rw-r--r-- | kmdi/kmdichildfrm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmdi/kmdichildfrm.cpp b/kmdi/kmdichildfrm.cpp index 4e57649c7..8221082b5 100644 --- a/kmdi/kmdichildfrm.cpp +++ b/kmdi/kmdichildfrm.cpp @@ -775,7 +775,7 @@ void KMdiChildFrm::setClient( KMdiChildView *w, bool bAutomaticResize ) delete list; // delete the list, not the objects //Reparent if needed - if ( w->parent() != this ) + if ( TQT_BASE_OBJECT(w->parent()) != TQT_BASE_OBJECT(this) ) { //reparent to this widget , no flags , point , show it TQPoint pnt2( KMDI_CHILDFRM_BORDER, clientYPos ); |