diff --git a/widgets/checkbox.cpp b/widgets/checkbox.cpp index c424fa9c9..7a0d215f0 100644 --- a/widgets/checkbox.cpp +++ b/widgets/checkbox.cpp @@ -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)