From 78f3daf1ff2582d04f9a454df825d4120636f75c Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 17 Jul 2020 16:10:10 +0200 Subject: [PATCH] Remove paramater that matches the default --- AdaptiveBrightness/main_window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }