Small problem I forgot to fix when refactoring

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666423
This commit is contained in:
Rafael Fernández López 2007-05-19 20:54:26 +00:00
parent 3294b91379
commit ef5b5fca3b

View File

@ -109,8 +109,6 @@ const QString &RadioButton::text() const
void RadioButton::setChecked(bool checked)
{
d->checked = checked;
RadioButton *siblingRadioButton;
// If we have a parent item (some kind of grouping widget or whatever)
// check first there.
@ -142,6 +140,8 @@ void RadioButton::setChecked(bool checked)
}
}
d->checked = checked;
update();
}