summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages/pagebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdialogpages/pagebase.cpp')
-rw-r--r--kompare/libdialogpages/pagebase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kompare/libdialogpages/pagebase.cpp b/kompare/libdialogpages/pagebase.cpp
index 43d6e933..3e9708cf 100644
--- a/kompare/libdialogpages/pagebase.cpp
+++ b/kompare/libdialogpages/pagebase.cpp
@@ -38,7 +38,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget )
//
// The size is computed by adding the sizeHint().height() of all
// widget children and taking the width of the widest child and adding
- // tqlayout()->margin() and tqlayout()->spacing()
+ // layout()->margin() and layout()->spacing()
//
// this code in this method has been ripped out of a file in kbabel
@@ -73,7 +73,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget )
if( numChild > 0 )
{
size.setHeight( size.height() + widget->tqlayout()->spacing()*(numChild-1) );
- size += TQSize( widget->tqlayout()->margin()*2, widget->tqlayout()->margin()*2 + 1 );
+ size += TQSize( widget->layout()->margin()*2, widget->layout()->margin()*2 + 1 );
}
else
{