diff options
Diffstat (limited to 'tdeui/ktabwidget.cpp')
-rw-r--r-- | tdeui/ktabwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ktabwidget.cpp b/tdeui/ktabwidget.cpp index a6f14d2a2..10ed6ae76 100644 --- a/tdeui/ktabwidget.cpp +++ b/tdeui/ktabwidget.cpp @@ -190,7 +190,7 @@ unsigned int KTabWidget::tabBarWidthForMaxChars( uint maxLength ) int iw = 0; if ( tab->iconSet() ) iw = tab->iconSet()->pixmap( TQIconSet::Small, TQIconSet::Normal ).width() + 4; - x += ( tabBar()->style().tqsizeFromContents( TQStyle::CT_TabBarTab, this, + x += ( tabBar()->style().sizeFromContents( TQStyle::CT_TabBarTab, this, TQSize( TQMAX( lw + hframe + iw, TQApplication::globalStrut().width() ), 0 ), TQStyleOption( tab ) ) ).width(); } |