diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:55:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-24 10:55:57 +0900 |
commit | 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (patch) | |
tree | aeb6e8f7de0507196578a04a8bdc804284d9fc80 /tdeui/ktabwidget.cpp | |
parent | 17a8fd0ec28f5efbc658892067bb5602b6a8e44c (diff) | |
download | tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.tar.gz tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
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(); } |