diff options
Diffstat (limited to 'kmdi/kmdichildarea.cpp')
-rw-r--r-- | kmdi/kmdichildarea.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmdi/kmdichildarea.cpp b/kmdi/kmdichildarea.cpp index 491afc06b..d7848034d 100644 --- a/kmdi/kmdichildarea.cpp +++ b/kmdi/kmdichildarea.cpp @@ -424,10 +424,10 @@ void KMdiChildArea::cascadeMaximized() childFrm->move( pnt ); TQSize curSize( width() - pnt.x(), height() - pnt.y() ); - if ( ( childFrm->tqminimumSize().width() > curSize.width() ) || - ( childFrm->tqminimumSize().height() > curSize.height() ) ) + if ( ( childFrm->minimumSize().width() > curSize.width() ) || + ( childFrm->minimumSize().height() > curSize.height() ) ) { - childFrm->resize( childFrm->tqminimumSize() ); + childFrm->resize( childFrm->minimumSize() ); } else childFrm->resize( curSize ); |