}
bool SettingsPage::hasChanged(QCheckBox *box) {
- return box->property("StoredValue").toBool() == box->isChecked();
+ return box->property("StoredValue").toBool() != box->isChecked();
}
}
bool SettingsPage::hasChanged(QComboBox *box) {
- return box->property("StoredValue").toInt() == box->currentIndex();
+ return box->property("StoredValue").toInt() != box->currentIndex();
}
void SettingsPage::load(QSpinBox *box, int value) {
}
bool SettingsPage::hasChanged(QSpinBox *box) {
- return box->property("StoredValue").toInt() == box->value();
+ return box->property("StoredValue").toInt() != box->value();
}
/*** Auto child widget handling ***/