chore(cpn): cleanup build warnings (#5145)

This commit is contained in:
philmoz
2024-06-11 08:26:59 +10:00
committed by GitHub
parent f18d2ff312
commit 763303c99d
5 changed files with 17 additions and 18 deletions
+1 -2
View File
@@ -33,13 +33,12 @@ CalibrationPanel::CalibrationPanel(QWidget * parent, GeneralSettings & generalSe
TableLayout * tableLayout = new TableLayout(this, maxrows, headerLabels);
for (int i = 0, row = 0; i < maxinputs; i++) {
for (int i = 0; i < maxinputs; i++) {
if (!Boards::isInputCalibrated(i))
continue;
GeneralSettings::InputCalib &calib = generalSettings.inputConfig[i].calib;
int col = 0;
row++;
QLabel * label = new QLabel(this);
label->setText(Boards::getInputName(i));
tableLayout->addWidget(i, col++, label);