let's try this out without our "work around Qt bugs" hack and see if Qt is now well behaved

svn path=/trunk/KDE/kdelibs/; revision=1124321
This commit is contained in:
Aaron J. Seigo 2010-05-08 20:45:36 +00:00
parent fb2d1cf524
commit 56d063430e

View File

@ -286,6 +286,11 @@ void Label::paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
QWidget *widget)
{
QGraphicsProxyWidget::paint(painter, option, widget);
/*
NOTE: if we don't get any coplaints about "unitialized random gibberish" as in the FIXME
below, then we can just get rid of this entire block of code.it really depends on whether
or not Qt has been fixed since this was written
QLabel *native = nativeWidget();
QFontMetrics fm = native->font();
@ -327,6 +332,7 @@ void Label::paint(QPainter *painter,
buffPainter.end();
painter->drawPixmap(contentsRect(), buffer, buffer.rect());
}
*/
}
void Label::changeEvent(QEvent *event)