Remove paramater that matches the default

This commit is contained in:
BlackMark 2020-07-17 16:10:10 +02:00
parent 17a4890fdc
commit 78f3daf1ff

View File

@ -187,13 +187,13 @@ void MainWindow::updateCurrentMonitorGUI(int index)
const auto maximum = utils::map(m_monitors[index].maxBrightness, 0.f, 1.f, 0, 100);
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.monitorMaxBrightnessValueLabel->setText(QString("%1%").arg(maximum, 3, 10));
m_ui.monitorMaxBrightnessValueLabel->setText(QString("%1%").arg(maximum, 3));
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);
}