We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3ad867 commit b8728cbCopy full SHA for b8728cb
Software/src/wizard/GlobalColorCoefPage.cpp
@@ -135,9 +135,8 @@ void GlobalColorCoefPage::cleanupPage()
135
void GlobalColorCoefPage::onCoefValueChanged()
136
{
137
QList<WBAdjustment> adjustments;
138
- const int numOfLeds = device()->maxLedsCount();
139
140
- for (int led = 0; led < numOfLeds; ++led) {
+ for (int led = 0; led < _transSettings->ledCount; ++led) {
141
WBAdjustment wba;
142
wba.red = _ui->sbRed->value() / 100.0;
143
wba.green = _ui->sbGreen->value() / 100.0;
0 commit comments