diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:55:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-25 15:17:48 +0900 |
commit | 4c9f3f02c0e1a9be5567649f5c97d6638033f74f (patch) | |
tree | 1979e02cfb76240b6e03e1fcebe7b546143c74e1 /tdeui/ktabwidget.cpp | |
parent | cf7f8e74af96c15491c49457261a7d0d001250ad (diff) | |
download | tdelibs-4c9f3f02c0e1a9be5567649f5c97d6638033f74f.tar.gz tdelibs-4c9f3f02c0e1a9be5567649f5c97d6638033f74f.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08)
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(); } |