deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=587952
This commit is contained in:
parent
5d2d733519
commit
175b6677e5
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ void TabBox::drawContents( QPainter * )
|
||||||
else
|
else
|
||||||
s += (*it)->caption();
|
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
|
// draw text
|
||||||
if ( (*it) == current_client )
|
if ( (*it) == current_client )
|
||||||
|
|
Loading…
Reference in a new issue