fix boundingRect.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690596
This commit is contained in:
Andre Duffeck 2007-07-21 14:04:37 +00:00
parent fc0938d3bb
commit 6c25a3b98e

View File

@ -83,7 +83,7 @@ CheckBox::~CheckBox()
QRectF CheckBox::boundingRect() const QRectF CheckBox::boundingRect() const
{ {
return QRectF(x(),y(),d->width,d->height); return QRectF(0,0,d->width,d->height);
} }
void CheckBox::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) void CheckBox::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)