summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdialogpages')
-rw-r--r--kompare/libdialogpages/pagebase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kompare/libdialogpages/pagebase.cpp b/kompare/libdialogpages/pagebase.cpp
index 3e9708cf..4bf5cde0 100644
--- a/kompare/libdialogpages/pagebase.cpp
+++ b/kompare/libdialogpages/pagebase.cpp
@@ -72,7 +72,7 @@ TQSize PageBase::sizeHintForWidget( 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