| 423 | } |
| 424 | |
| 425 | void OptionsDialog::brightnessChanged(int value) |
| 426 | { |
| 427 | QSettings settings(YACReader::getSettingsPath() + "/YACReader.ini", QSettings::IniFormat); |
| 428 | settings.setValue(BRIGHTNESS, value); |
| 429 | emit changedFilters(brightnessS->getValue(), contrastS->getValue(), gammaS->getValue()); |
| 430 | // emit(changedImageOptions()); |
| 431 | } |
| 432 | |
| 433 | void OptionsDialog::contrastChanged(int value) |
| 434 | { |