Remove paramater that matches the default
This commit is contained in:
parent
17a4890fdc
commit
78f3daf1ff
@ -187,13 +187,13 @@ void MainWindow::updateCurrentMonitorGUI(int index)
|
|||||||
const auto maximum = utils::map(m_monitors[index].maxBrightness, 0.f, 1.f, 0, 100);
|
const auto maximum = utils::map(m_monitors[index].maxBrightness, 0.f, 1.f, 0, 100);
|
||||||
|
|
||||||
m_ui.monitorMinBrightnessSlider->setValue(minimum);
|
m_ui.monitorMinBrightnessSlider->setValue(minimum);
|
||||||
m_ui.monitorMinBrightnessValueLabel->setText(QString("%1%").arg(minimum, 3, 10));
|
m_ui.monitorMinBrightnessValueLabel->setText(QString("%1%").arg(minimum, 3));
|
||||||
|
|
||||||
m_ui.monitorMaxBrightnessSlider->setValue(maximum);
|
m_ui.monitorMaxBrightnessSlider->setValue(maximum);
|
||||||
m_ui.monitorMaxBrightnessValueLabel->setText(QString("%1%").arg(maximum, 3, 10));
|
m_ui.monitorMaxBrightnessValueLabel->setText(QString("%1%").arg(maximum, 3));
|
||||||
|
|
||||||
m_ui.monitorBrightnessSlider->setValue(brightness);
|
m_ui.monitorBrightnessSlider->setValue(brightness);
|
||||||
m_ui.monitorBrightnessValueLabel->setText(QString("%1%").arg(brightness, 3, 10));
|
m_ui.monitorBrightnessValueLabel->setText(QString("%1%").arg(brightness, 3));
|
||||||
|
|
||||||
m_ui.monitorOverrideCheck->setChecked(m_monitors[index].manualOverride);
|
m_ui.monitorOverrideCheck->setChecked(m_monitors[index].manualOverride);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user