Commit 45bc66f6 authored by Jekyll Wu's avatar Jekyll Wu

s/possible/possibilities/ for consistency.

parent 41dd0767
...@@ -1033,18 +1033,18 @@ void EditProfileDialog::setupCheckBoxes( BooleanOption* options , const Profile: ...@@ -1033,18 +1033,18 @@ void EditProfileDialog::setupCheckBoxes( BooleanOption* options , const Profile:
++options; ++options;
} }
} }
void EditProfileDialog::setupRadio( RadioOption* possible , int actual ) void EditProfileDialog::setupRadio( RadioOption* possibilities , int actual )
{ {
while (possible->button != 0) while (possibilities->button != 0)
{ {
if ( possible->property == actual ) if ( possibilities->property == actual )
possible->button->setChecked(true); possibilities->button->setChecked(true);
else else
possible->button->setChecked(false); possibilities->button->setChecked(false);
connect( possible->button , SIGNAL(clicked()) , this , possible->slot ); connect( possibilities->button , SIGNAL(clicked()) , this , possibilities->slot );
++possible; ++possibilities;
} }
} }
......
...@@ -229,7 +229,7 @@ private: ...@@ -229,7 +229,7 @@ private:
int property; int property;
const char* slot; const char* slot;
}; };
void setupRadio(RadioOption* possible,int actual); void setupRadio(RadioOption* possibilities, int actual);
struct BooleanOption struct BooleanOption
{ {
QAbstractButton* button; QAbstractButton* button;
......
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