From 56d063430e0c7904ff438a4e8c768fc600935bf1 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sat, 8 May 2010 20:45:36 +0000 Subject: [PATCH] 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 --- widgets/label.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/widgets/label.cpp b/widgets/label.cpp index f66572a13..8986c7373 100644 --- a/widgets/label.cpp +++ b/widgets/label.cpp @@ -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)