Change text "not" to ! to fix VS15 Build Issue_4522 (#4523)
* Change text "not" to ! to fix VS15 Build (closes #4522) * Change !cb_fp[i]->checkState() to !cb_fp[i]->isChecked() per comments in PR
This commit is contained in:
@@ -240,7 +240,7 @@ void ExpoDialog::fmInvertAll()
|
||||
{
|
||||
lock = true;
|
||||
for (int i=0; i<CPN_MAX_FLIGHT_MODES; i++) {
|
||||
cb_fp[i]->setChecked(not cb_fp[i]->checkState());
|
||||
cb_fp[i]->setChecked(!cb_fp[i]->isChecked());
|
||||
}
|
||||
lock = false;
|
||||
valuesChanged();
|
||||
|
||||
@@ -239,7 +239,7 @@ void MixerDialog::fmInvertAll()
|
||||
{
|
||||
lock = true;
|
||||
for (int i=0; i<CPN_MAX_FLIGHT_MODES; i++) {
|
||||
cb_fp[i]->setChecked(not cb_fp[i]->checkState());
|
||||
cb_fp[i]->setChecked(!cb_fp[i]->isChecked());
|
||||
}
|
||||
lock = false;
|
||||
valuesChanged();
|
||||
|
||||
Reference in New Issue
Block a user