Revert previous patch as the error appears to be in TQFontMetrics, not this file

(cherry picked from commit 857fae6c4f)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent f081179ea0
commit a40d90b982

@ -634,7 +634,7 @@ void KIconViewItem::calcRect( const TQString& text_ )
} }
if ( ( itemIconRect.height() <= 20 ) && ( itemTextRect.height() < itemIconRect.height() ) ) { if ( ( itemIconRect.height() <= 20 ) && ( itemTextRect.height() < itemIconRect.height() ) ) {
d->realTextHeight = itemTextRect.height(); d->realTextHeight = itemTextRect.height();
itemTextRect.setHeight( itemIconRect.height() - 4 ); itemTextRect.setHeight( itemIconRect.height() - 2 );
itemTextRect.setY( itemIconRect.y() ); itemTextRect.setY( itemIconRect.y() );
} }
} }

Loading…
Cancel
Save