deprecated--

svn path=/trunk/KDE/kdebase/workspace/; revision=587952
This commit is contained in:
Tobias Koenig 2006-09-24 14:51:14 +00:00
parent 5d2d733519
commit 175b6677e5

View file

@ -426,7 +426,7 @@ void TabBox::drawContents( QPainter * )
else
s += (*it)->caption();
s = KStringHandler::cPixelSqueeze(s, fontMetrics(), r.width() - 5 - iconWidth - 8);
s = fontMetrics().elidedText(s, Qt::ElideMiddle, r.width() - 5 - iconWidth - 8);
// draw text
if ( (*it) == current_client )