[plasma/kscreen] hdrcalibrator: hdrcalibrator: remove duplicate brightness change connection
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 40945d62e342f24e2d26ab18726bc80400a041d1 by Vlad Zahorodnii, on behalf of Li Kai.
Committed on 24/07/2026 at 07:34.
Pushed by vladz into branch 'master'.
hdrcalibrator: remove duplicate brightness change connection
M +0 -1 hdrcalibrator/hdrcalibrator.cpp
https://invent.kde.org/plasma/kscreen/-/commit/40945d62e342f24e2d26ab18726bc80400a041d1
diff --git a/hdrcalibrator/hdrcalibrator.cpp b/hdrcalibrator/hdrcalibrator.cpp
index 9ee1c399..6003a89d 100644
--- a/hdrcalibrator/hdrcalibrator.cpp
+++ b/hdrcalibrator/hdrcalibrator.cpp
@@ -118,7 +118,6 @@ void HdrCalibrator::setOutput(const KScreen::ConfigPtr &config, const KScreen::O
m_output = output;
connect(output.get(), &KScreen::Output::brightnessChanged, this, &HdrCalibrator::brightnessChanged);
connect(output.get(), &KScreen::Output::maxPeakBrightnessOverrideChanged, this, &HdrCalibrator::peakBrightnessOverrideChanged);
- connect(output.get(), &KScreen::Output::brightnessChanged, this, &HdrCalibrator::brightnessChanged);
connect(output.get(), &KScreen::Output::sdrBrightnessChanged, this, &HdrCalibrator::sdrBrightnessChanged);
}