(cherry picked from commit eb1502930e)
eb1502930e
@ -109,7 +109,7 @@ static TQSize sizeHintForWidget(const TQWidget* widget)
if( numChild > 0 )
{
size.setHeight( size.height() + widget->tqlayout()->spacing()*(numChild-1) );
size.setHeight( size.height() + widget->layout()->spacing()*(numChild-1) );
size += TQSize( widget->layout()->margin()*2, widget->layout()->margin()*2 + 1 );
}
else
@ -184,7 +184,7 @@ void KompareSplitter::childEvent( TQChildEvent *c )
// This is from a private qt header (kernel/qtqlayoutengine_p.h). sorry.
// This is from a private qt header (kernel/qlayoutengine_p.h). sorry.
TQSize qSmartMinSize( TQWidget *w );
static TQPoint toggle( TQWidget *w, TQPoint pos )
@ -72,7 +72,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget )