redraw the whole rectangle
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642010
This commit is contained in:
parent
1e359b07c9
commit
e41598b02a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user