summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/commonui')
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 9d8680d9..6a0f0dae 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -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