diff options
Diffstat (limited to 'kmdi')
-rw-r--r-- | kmdi/kmditaskbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmdi/kmditaskbar.cpp b/kmdi/kmditaskbar.cpp index 4ccda67e0..70141a110 100644 --- a/kmdi/kmditaskbar.cpp +++ b/kmdi/kmditaskbar.cpp @@ -106,7 +106,7 @@ void KMdiTaskBarButton::fitText( const TQString& origStr, int newWidth ) { TQButton::setText( m_actualText ); - int actualWidth = tqsizeHint().width(); + int actualWidth = sizeHint().width(); int realLetterCount = origStr.length(); int newLetterCount = ( newWidth * realLetterCount ) / actualWidth; int w = newWidth + 1; @@ -348,9 +348,9 @@ void KMdiTaskBar::layoutTaskBar( int taskBarWidth ) for ( b = m_pButtonList->first();b;b = m_pButtonList->next() ) { b->setText( b->actualText() ); - if ( b->width() != b->tqsizeHint().width() ) + if ( b->width() != b->sizeHint().width() ) { - b->setFixedWidth( b->tqsizeHint().width() ); + b->setFixedWidth( b->sizeHint().width() ); b->show(); } } |