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:
Jim Taylor
2017-02-27 18:14:32 -05:00
committed by Max Paperno
parent 9f3898ae1e
commit b75fa3b06f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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();