summaryrefslogtreecommitdiffstats
path: root/tdeui/ktabwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:55:57 +0900
committerMichele Calgaro <[email protected]>2023-11-24 10:55:57 +0900
commit8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (patch)
treeaeb6e8f7de0507196578a04a8bdc804284d9fc80 /tdeui/ktabwidget.cpp
parent17a8fd0ec28f5efbc658892067bb5602b6a8e44c (diff)
downloadtdelibs-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.cpp2
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();
}