MCPcopy Create free account
hub / github.com/YACReader/yacreader / gammaChanged

Method gammaChanged

YACReader/options_dialog.cpp:441–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void OptionsDialog::gammaChanged(int value)
442{
443 QSettings settings(YACReader::getSettingsPath() + "/YACReader.ini", QSettings::IniFormat);
444 settings.setValue(GAMMA, value);
445 emit changedFilters(brightnessS->getValue(), contrastS->getValue(), gammaS->getValue());
446 // emit(changedImageOptions());
447}
448
449void OptionsDialog::resetImageConfig()
450{

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.80
getValueMethod · 0.80

Tested by

no test coverage detected