Commit d148c18a authored by Jekyll Wu's avatar Jekyll Wu

It is actually the value of perperty, not property name.

parent d5bec6f6
......@@ -1037,7 +1037,7 @@ void EditProfileDialog::setupRadio( RadioOption* possibilities , int actual )
{
while (possibilities->button != 0)
{
if ( possibilities->property == actual )
if ( possibilities->value == actual )
possibilities->button->setChecked(true);
else
possibilities->button->setChecked(false);
......
......@@ -224,7 +224,7 @@ private:
struct RadioOption
{
QAbstractButton* button;
int property;
int value;
const char* slot;
};
void setupRadio(RadioOption* possibilities, int actual);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment