diff --git a/Src/mainwindow.cpp b/Src/mainwindow.cpp index d7085d8..ef204d1 100644 --- a/Src/mainwindow.cpp +++ b/Src/mainwindow.cpp @@ -100,7 +100,6 @@ void Mainwindows::loadConfiguration() { if(label.isEmpty()) { label = QString("Button %1").arg(i); } - qDebug() << "Loading button label:" << labelKey << "=" << label; m_buttonLabels.append(label); } @@ -111,14 +110,9 @@ void Mainwindows::loadConfiguration() { if(label.isEmpty()) { label = QString("Indicator %1").arg(i); } - qDebug() << "Loading indicator label:" << labelKey << "=" << label; m_indicatorLabels.append(label); } settings.endGroup(); - - qDebug() << "Loaded" << m_buttonCount << "buttons and" << m_indicatorCount << "indicators"; - qDebug() << "Button registers:" << m_buttonRegisters; - qDebug() << "Indicator registers:" << m_indicatorRegisters; } void Mainwindows::initModbusConnection() { @@ -308,7 +302,7 @@ void Mainwindows::createUIElements() { m_table->setCellWidget(i, 2, square); // Add status text cell - auto* statusItem = new QTableWidgetItem("?"); + const auto statusItem = new QTableWidgetItem("?"); statusItem->setTextAlignment(Qt::AlignCenter); m_table->setItem(i, 3, statusItem); }