| 1085 | } |
| 1086 | |
| 1087 | void SettingsWindow::onDeviceGammaCorrection_valueChanged(double value) |
| 1088 | { |
| 1089 | DEBUG_LOW_LEVEL << Q_FUNC_INFO << value; |
| 1090 | |
| 1091 | Settings::setDeviceGamma(value); |
| 1092 | ui->horizontalSlider_GammaCorrection->setValue(floor((value * 100 + 0.5))); |
| 1093 | emit updateGamma(Settings::getDeviceGamma()); |
| 1094 | } |
| 1095 | |
| 1096 | void SettingsWindow::onSliderDeviceGammaCorrection_valueChanged(int value) |
| 1097 | { |