redraw the whole rectangle

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642010
This commit is contained in:
Siraj Razick 2007-03-13 01:53:38 +00:00
parent 1e359b07c9
commit e41598b02a

View File

@ -92,7 +92,7 @@ void CheckBox::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QStyleOptionButton options;
options.rect = option->exposedRect.toRect() ;//boundingRect().toRect();
options.rect = boundingRect().toRect();
options.text = text();
options.state |= (d->state == Qt::Checked)? QStyle::State_On : QStyle::State_Off;