fix boundingRect.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690596
This commit is contained in:
parent
fc0938d3bb
commit
6c25a3b98e
@ -83,7 +83,7 @@ CheckBox::~CheckBox()
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user