We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88d979 commit bf3b107Copy full SHA for bf3b107
libsrc/utils/RgbTransform.cpp
@@ -87,7 +87,7 @@ int RgbTransform::getBacklightThreshold() const
87
void RgbTransform::setBacklightThreshold(int backlightThreshold)
88
{
89
_backlightThreshold = backlightThreshold;
90
- _sumBrightnessLow = static_cast<uint8_t>(qBound(0, _backlightThreshold, UINT8_MAX));
+ _sumBrightnessLow = static_cast<uint8_t>(qBound(0, _backlightThreshold, static_cast<int>(UINT8_MAX)));
91
}
92
93
bool RgbTransform::getBacklightColored() const
0 commit comments