Fix build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=701237
This commit is contained in:
parent
93bf2933e4
commit
1fb3bef9bb
@ -87,7 +87,7 @@ void Label::paintWidget(QPainter *p, const QStyleOptionGraphicsItem *option, QWi
|
||||
Q_UNUSED(widget);
|
||||
|
||||
p->setPen(d->textPen);
|
||||
p->drawText(localGeometry(), d->alignment | Qt::TextWordWrap, d->text);
|
||||
p->drawText(option->rect, d->alignment | Qt::TextWordWrap, d->text);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user