diff --git a/AdaptiveBrightness/main_window.cpp b/AdaptiveBrightness/main_window.cpp index bcb0c13..d836258 100644 --- a/AdaptiveBrightness/main_window.cpp +++ b/AdaptiveBrightness/main_window.cpp @@ -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); }